TOC PREV NEXT INDEX

domref



clear


The clear method clears the current document of all its content.

Syntax

document.clear()
 

Parameters

None.

Example

<button label="empty" onclick="document.clear();" />
 

Notes

None.

Specification

DOM Level 0. Not part of specification.


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