July 1998
Intermediate to advanced
1456 pages
65h 5m
English
close( ) — NN 2 IE 3 DOM n/a
Closes the document writing stream to a window or frame. If a script
uses document.write( ) or
document.writeln( ) to generate all-new content
for a window or frame, you must append a document.close( ) method to make sure the entire content is written to the
document. Omitting this method may cause some content not to be
written. This method also prepares the window or frame for a
brand-new set of content with the next document writing method. Do
not, however, use document.close( ) if you use the
document writing methods to dynamically write content to a page
loading from the server.
None.
None.
Read now
Unlock full access