TOC PREV NEXT INDEX

Put your logo here!


close


The document.close() method finishes writing to the open document.

Syntax

document.close() 

Parameters

None.

Example

// open a document to write to it.  
// finish by closing the document. 
document.open(); 
document.write("<P>The only content</P>."); document.close(); 

Notes

None.

Specification

DOM Level 0. Not part of specification.


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX