August 2006
Intermediate to advanced
1018 pages
34h 13m
English
HTMLDocument.close( ): close an open document and display it — DOM Level 0
void close( );
This 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.
HTMLDocument.open( ),
HTMLDocument.write( )
Read now
Unlock full access