Page 1 of 1

Updating Progressbar1

Posted: Fri Aug 06, 2021 3:30 pm
by CosmickGold
How can I update the position of the progress bar?
In the developer properties window, changing "Value" instantly updates the bar's display.
But running the javascript line:

Code: Select all

 document.getElementById('Progressbar1').Value = 75;
does nothing I can see.
What does my javascript line need to say?

Re: Updating Progressbar1

Posted: Fri Aug 06, 2021 3:54 pm
by Pablo
You can find the documentation here:
https://api.jqueryui.com/progressbar/#option-value

Re: Updating Progressbar1

Posted: Fri Aug 06, 2021 6:37 pm
by CosmickGold
Thank you, Pablo.

The line:

Code: Select all

$( "#Progressbar1" ).progressbar({ value: 37 });
works perfectly for me. ;)