90
rated 0 times
[
95]
[
5]
/ answers: 1 / hits: 135281
/ 15 Years ago, wed, july 8, 2009, 12:00:00
I need to do a numeric calculation based on CSS properties. However, when I use this to get info:
$(this).css('marginBottom')
it returns the value '10px'. Is there a trick to just getting the number part of the value no matter whether it is px
or %
or em
or whatever?
More From » jquery