Document.clear()

Deprecated
This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Avoid using it and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

 This method used to clear the whole specified document in early (pre-1.0) versions of Mozilla.

In recent versions of Mozilla-based applications as well as in Internet Explorer and Netscape 4 this method does nothing.

Syntax

document.clear() 

Specification

Document Tags and Contributors

 Contributors to this page: valtlai, teoli, kscarfone, Cobra, Sheppy, Ms2ger, Nickolay, Dria, Callek, JesseW
 Last updated by: valtlai,