0

How do u make a progress bar adjust to 100 when the action is complete?

I'm asking this question bc when u code a progress bar the value can't adjust it just stays stuck at what the value is, making the progress bar basically useless

28th Jan 2022, 10:51 PM
Ibrahim Mohammad
3 odpowiedzi
+ 5
It can be achieved within JS if you familiar with it. Also you can put this on the action button as attribute: onclick="() => document.getElementById('progressElementId').value = 100" And add id attribute to progress bar element.
28th Jan 2022, 10:57 PM
cadbrooke
cadbrooke - avatar
+ 1
Ibrahim Mohammad I was intrigued with your question, so played about a bit. See if this little code helps you https://code.sololearn.com/Wlv8w4MapSho/?ref=app
9th Feb 2022, 8:20 AM
Rik Wittkopp
Rik Wittkopp - avatar
0
https://code.sololearn.com/W3pg3NQB2saP/?ref=app
29th Apr 2022, 1:05 AM
Calviղ
Calviղ - avatar