title: How to update jQuery Progress bar according to a value at the session variable in PHP
body: <p>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?</p>
  
  <pre><code>&lt;meta charset="utf-8"&gt;
      &lt;script&gt;
      $(function() {
          $( "#progressbar" ).progressbar({
              value: 80
          });
      });
      &lt;/script&gt;
   &lt;div class="demo"&gt;
  
  &lt;div id="progressbar"&gt;&lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>