Alerting a jQuery .css property value -
how alert value of css jquery?
i tried:
alert($('#mylist').css('-moz-columns')); /* not working */
from jquery documentation .css()
:
shorthand css properties (e.g. margin, background, border) not supported. example, if want retrieve rendered margin, use:
$( elem ).css( "margintop" )
,$( elem ).css( "marginright" )
, , on.
columns
shorthand property column-count
, column-width
.
interestingly, will work -webkit-columns
(in webkit browsers only, of course).
Comments
Post a Comment