handleman
10/14/2014 - 2:35 PM

How to get just numeric part of CSS property with jQuery

How to get just numeric part of CSS property with jQuery

$(this).css('marginBottom').replace(/[^-\d\.]/g, '');