Skip to main content
Known Participant
April 27, 2012
Question

javascript help with progress bar in html5

  • April 27, 2012
  • 1 reply
  • 999 views

I am trying to set a progress bar by javascript.  here is my code:

var it = 100;

<progress value="<script>document.write(it)</script>" max="100"></progress>

it shows the status at 0.  what am i doing wrong?

This topic has been closed for replies.

1 reply

Known Participant
April 28, 2012

thanks!  the first link looks promising.