How can I increase css values with jquery?
I want to increase values such as top and left, this is what i tried but does not work:
var left = 5;
$(.object).css("left" + 5);
the thing is that i need the value to be an integer rather than a string like "5px". I need 5 so that i can change it with numerical expressions.
$(object).css( "left", "+=5" );