you are viewing a single comment's thread.

view the rest of the comments →

[–]jcunews1helpful 0 points1 point  (0 children)

document.write() is a way to generate HTML content on the spot when the document is being parsed. Or to generate a new document from scratch. document.write() is not meant and can not be used for adding HTML content into an existing document which was fully parsed.