If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

document.write() replacement statement in HTM5

I read somewhere that HTML5 will not allow document.write() statements.

The following script does use the document.write() statement and it seems to work to create a new window
BUT, I get and error in the error console stating
-----------------------------
Timestamp: 12/9/2012 11:34:22 PM
Warning: XUL box for _moz_generated_content_after element contained an inline #text child, forcing all its children to be wrapped in a block.
Source File: chrome://browser/content/browser.xul
Line: 0
-----------------------------

What is the appropriate statement to replace the document.write() to avoid the error reports?