michael@0: michael@0: michael@0: michael@0: michael@0: michael@0:

document.write (out-of-line) test

michael@0:

This test uses the open, write and close methods of a michael@0: document to construct a document. It tests the "out-of-line" michael@0: capabilities of document.write i.e. the ability to use michael@0: document.write to create an entirely new document.

michael@0: michael@0:
michael@0:

Use this button to create a new window. If one already michael@0: exists, we'll use it. michael@0: michael@0:

michael@0: michael@0:

Use this button to write the new value of a counter into michael@0: the document. If the document was previously closed, it will be michael@0: reopened (and the old contents will be destroyed. michael@0: michael@0:

michael@0: michael@0:

Use this button to close the document. Subsequent writes will rewrite michael@0: the document. michael@0: michael@0:

michael@0:

michael@0: michael@0: