Problems with Document.Write
How do I add extra data to an HTML file using JavaScript after the document has finished loading?
I've tried document.write() and document.writeIn(), but they both make a new document and add the data to that.
Any ideas?
How do I add extra data to an HTML file using JavaScript after the document has finished loading?
I've tried document.write() and document.writeIn(), but they both make a new document and add the data to that.
Any ideas?
Hi,
Rather than using document.write you shoudl look at DOM methods such as innerHTML or createElement to create the HTML adn then insert it into the document where you wish.
Thanks
-Dave