I am developing a progress bar which html looks like so\[code\]<div class="progressbar"><div class="text">%0 Completed</div> <div class="progressbar_inner"></div> </div>\[/code\]and used this jquery codes for it:\[code\]$(".progressbar_inner").animate({ width:"20%" },100,function(){ $(".text").html("%20 Completed"); });\[/code\]My question is: I want to print percentage of the progress bar when animate started and finished. Like so : %1 Completed %2 Completed and etc.Anyone helps me?