Skip navigation
Currently Being Moderated

javascript help with progress bar in html5

Apr 26, 2012 5:25 PM

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?

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points