I have a simple function that loops over a known number of items
-
$('#progress').progressbar({ value : 0 });
-
-
for (i = 0; i < number; i++) {
-
doThis(i);
-
$('#progress').progressbar('option', 'value', i);
-
}
The progressbar inits at 0, but when I change the value in my loop, nothing happens. Eventually, I'll modify it to actually update based upon the actual percentage of 'number' it has complete, but for now shouldn't it at least update every time the loop runs and show something?
Am I completely misunderstanding the implementation of this?
Thanks..