June 23, 2013 at 8:10 am #139961
Firstly, you should set Your “Frameworks & Extensions” in JSFiddle to can use jQuery.
After that code starts working like you said. Only first bar is animated properly.
It is becouse you set percent variable once:
var percent = $(‘.progress_bar’).attr(‘title’);
To fix it, iterate through all the bars. You can use “each” function to do this.