142
rated 0 times
[
144]
[
2]
/ answers: 1 / hits: 63718
/ 10 Years ago, fri, may 9, 2014, 12:00:00
I want to animate a progress bar's width from 0% to 70% over 2.5 seconds. However, the code below immediately changes the width to 70% after a 2.5 second delay. What am I missing?
$(.progress-bar).animate({
width: 70%
}, 2500);
JSFiddle: http://jsfiddle.net/WEYKL/
More From » jquery