title: changing the values of jquery ui progress bar
body: <p>i am trying to change the values of the progress bar widget to accept a json string i am getting which is something like:</p>
  
  <pre><code>{
    'totalDays' : 31,
    'daysTaken' : 20
  }
  </code></pre>
  
  <p>so i want the 'totalDays' to be the total value of the progress bar (total length) and the 'daysTaken' to fill the progress bar.</p>
  
  <p>according to the default docs, only the filled value is possible to change:</p>
  
  <pre><code>$(document).ready(function() {
    $("#progressbar").progressbar({ value: 37 });
  });
  </code></pre>