Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

javascript help with progress bar in html5

Explorer ,
Apr 26, 2012 Apr 26, 2012

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?

TOPICS
Server side applications
917
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 28, 2012 Apr 28, 2012
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 28, 2012 Apr 28, 2012
LATEST

thanks!  the first link looks promising.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines