2 Replies Latest reply: Apr 28, 2012 12:11 PM by future-architect RSS

    javascript help with progress bar in html5

    future-architect Community Member

      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?