Nimbuz Posted February 3, 2009 Share Posted February 3, 2009 This code: $(".selector").each(function (i) { var capacity = Math.round($(this).text().replace(/\,/,"")); $(this).width(capacity); }).fadeIn(2000); ..returns width in px, how can I modify it to use percentage? Thanks Link to comment https://forums.phpfreaks.com/topic/143632-width-in-instead-of-px/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.