Alerting a jQuery .css property value -


how alert value of css jquery?

i tried:

alert($('#mylist').css('-moz-columns')); /* not working */ 

demo

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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -