I am trying to change the values โโof a progress bar widget to accept the json string that I get, something like:
{ 'totalDays' : 31, 'daysTaken' : 20 }
so I want โtotalDaysโ to be the total value of the progress bar (total length) and โdaysTakenโ to populate the progress bar.
according to the default documents, you can only change the filled value:
$(document).ready(function() { $("#progressbar").progressbar({ value: 37 }); });
hilarl
source share