I need to \"animate\" a variable with jquery.
Example: The variable value is 1. The value should be 10 after 5 seconds. It should be increase \"smoothl
Html mark up as Html
1
You can change its value after 5 seconds. JQuery:
setInterval(function() { $('#changeNumber').text('10'); },5000);
Here is a Demo http://jsfiddle.net/Simplybj/Fbhs9/