Document.clear() (Method)

A deprecated method that clears the document.


JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Opera - 5.0
JavaScript syntax:-myDocument.clear()

This is a method that was implemented early in the life of the Netscape browser. It is only provided for backwards compatibility with older projects and should not be used in any new work you do.


See also:Document object