How do you animate the value for a jQuery UI progressbar?
DEMO 1: the first one, proof of concept $(function() { var pGress = setInterval(function() { var pVal = $(‘#progressbar’).progressbar(‘option’, ‘value’); var pCnt = !isNaN(pVal) ? (pVal + 1) : 1; if (pCnt > 100) { clearInterval(pGress); } else { $(‘#progressbar’).progressbar({value: pCnt}); } },10); }); DEMO 2:: adaptation of @Peter’s response below for the good sake … Read more