I need to fill the progress bar according to the current value of a session variable. The value will be not be constant and is increasing.
How to make it load by itself?
<meta charset="utf-8">
<script>
$(function() {
$( "#progressbar" ).progressbar({
value: 80
});
});
</script>
<div class="demo">
<div id="progressbar"></div>
</div>
PHP
JS