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>
You'll need to use AJAX to talk to a PHP file that echos the session var. It can then update the progress bar.
PHP
JS