How to assign the progress bar to any active variable? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to assign the progress bar to any active variable?

26th Feb 2016, 11:52 PM
Ibrahim Khalil
Ibrahim Khalil - avatar
2 Answers
+ 3
You can use JavaScript. For example, if you have a progress bar: <progress id='p'></progress> The JavaScript can go: var pBar = document.getElementById('p'); pBar.value = value; // some custom value
23rd May 2016, 4:44 PM
James Flanders
0
pls explain further @ James
4th Jun 2016, 7:42 AM
Cele Prince
Cele Prince - avatar