+ 1

How change the value of the progress bar with JavaScript?

I tried element.value = but it says "Cannot get property "value" of null" please help!

26th Mar 2018, 6:40 AM
Herold Bryan Omecillo
Herold Bryan Omecillo - avatar
2 Answers
+ 3
Attach the code to your question so other could understand, how to answer the question properly. Maybe there can be some other defects. Please attach your code.
26th Mar 2018, 6:47 AM
Akash Pal
Akash Pal - avatar
+ 1
Hi Jerold elem.style.width = width + '%'; 
26th Mar 2018, 8:50 AM
Mike Choy
Mike Choy - avatar