I\'m writing a simple jQuery that to change the font size of an element by a certain percentage. The problem I\'m having is that when I get the size with jQuery\'s $(\'#el\'
i had this problem once. i use this function to get the int value of a css attribute, if there is one.
function PBMtoInt(str) { return parseInt(str.replace(/([^0-9\.\-])+/,"")!=""?str.replace(/([^0-9\.\-])+/,""):"0"); }