AvailabilityJavaScript 1.0; deprecated Synopsisdocument.clear( ) DescriptionThe clear( ) method of the Document object is deprecated and should not be used. To clear a document, you should simply open a new one with Document.open( ). See AlsoDocument.close( ), Document.open( ), Document.write( ) |