Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Under certain circumstances, document.write can overwrite the entire page, since . This is because this function is only called after the page has been completely loaded. You can find more information about this here.

...

Code Block
 document.getElementById(…).innerHtml = …

...

Do you need further help?

How can I get help with technical questions?