TOC PREV NEXT INDEX

domref



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.


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX