+ 3
How do i assign a progress bar to a variable?
<form><type="progress" min="0" max="100" value=?></form> x = 26
2 ответов
+ 2
x = document.getElementById ("giveItAnId").value;
+ 1
inside the div put your form and inside it put an input tag with type progress and an id of your choice.
now create a variable in javascript and assign to it the code i gave you earlier