I have the following div :
What is the best way to
var New = $("#new"); function onEvent() { New.css("top", parseFloat(New.css("top")) + 10 + "px"); }
by adding the seconds parameter of to css your setting the property.