javascript document clear( )
@March 15, 2008, 1:22 a.m.
clear( ) | Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM n/a |
|
|
Removes the current document from the window or frame, usually in preparation to open a new stream for writing new content. The document.write( ) and document.writeln( ) methods automatically invoke this method. Many bugs with the document.clear( ) method plagued earlier browser versions. Even today, it is best to let the document writing methods handle the job for you. The W3C DOM explicitly omits this method. |
|
Parameters | |
None. |
|
Returned Value | |
None. |
Permanent URL:
http://javascript.gakaa.com/document-clear-4-0-5-.aspx
Powered by Linode.