|
DocumentWriteMethod
The document.write method
ArgumentsUsageBrowser compatibility
Further reading |
Sign in to add a comment
![]() |
|
Search
|
|
DocumentWriteMethod
The document.write method
ArgumentsUsageBrowser compatibility
Further reading |
Sign in to add a comment
Beware: when used before the document ends loading (before the onLoad event) this method adds content to the document, but, after the onload event, document.write() replaces the document erasing all but the newly added content, header scripts included !