JavaScript: how to control progress speed?
<p>Is there any option to increase and decrease the speed of the progress?
Sometimes progress takes time and sometime very very slowly to finish: </p>

<pre><code>var value = 0,
    interval = setInterval(function(){
    value = ((+value) + .1).toFixed(1);
    if(value == 80.5) clearInterval(interval);   
    $('p').html(value+'%');
},2);
</code></pre>

<p><a href="http://jsfiddle.net/sweetmaanu/zjdBh/13/" rel="nofollow">http://jsfiddle.net/sweetmaanu/zjdBh/13/</a></p>
