Thursday, 12 September 2013

How to get a style with multiple values in jquery?

How to get a style with multiple values in jquery?

I have this div:
<div id="centerFrame" style="border-top-left-radius: 25px 0px;"></div>
but when i try to get the value it always returns 0px, how can I get both
values?
console.log($("#centerFrame").css("border-top-left-radius"));
>>0px

No comments:

Post a Comment