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

    javascript help with progress bar in html5

    future-architect Level 1

      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?