title: Pass value to Jquery function from code behind
body: <p>I am using Jquery progress bar control on asp.net form to show the percentage of completed work for inspector. Here is the client side function for progress bar.</p>
  
  <pre><code>    &lt;script&gt;
          $(function () {
              $("#progressbar").progressbar({
                  value: 37
              });
          });
      &lt;/script&gt;
  
      &lt;form id="form1" runat="server"&gt;
         &lt;div id="progressbar"&gt;&lt;/div&gt;
      &lt;/form&gt;
  </code></pre>
  
  <p>Is there any way to set progress bar value from code behind page? Values are read from database.</p>