25.149. HTMLDocument.close( ): close an open document and display itDOM Level 025.149.1. Synopsisvoid close( ); 25.149.2. DescriptionThis method closes a document stream that was opened with the open( ) method and forces any buffered output to be displayed. If you use the write( ) method to dynamically output a document, you must remember to call this method when you are done to ensure that all your document content is displayed. Once you have called close( ), you should not call write( ) again, as this implicitly calls open( ) to erase the current document and begin a new one. 25.149.3. See AlsoHTMLDocument.open( ), HTMLDocument.write( ) |