Guys I\'ve been asking around and nobody can really tell me the benefits of using .css(‘width’) and .css(‘height’) rather than .width()
By now people should know that one should be used for maths, and the other shouldn't...
Or should it?
I did a little speed test on the various options and according to my findings:
.css.widthSo in other words, to do a grab something and set another, you probably should:
$('#element1').width(parseInt($('#element2').css('width'), 10));