I want to modify this code so that the value is a variable and so that the progress bar refreshes in real time (or the smallest meter of time possible - milliseconds)
I am going to "seed" the current time to drive the updates
<script type="text/javascript">
$(function()
{
$("#container").progressbar({ value: 0 });
});
</script>
Fosco's edit: (currently not working)
<script type="text/javascript">
updateProgress(0);
function updateProgress(newvalue)
{
$("#container").progressbar({ 'value': newvalue });
newvalue = newvalue + 1
if (newvalue < 101) setTimeout('updateProgress(' + newvalue + ');',100);
}
</script>