Document.close() Method
Name
Document.close() Method---close an output stream
Navigator 2.0, Internet Explorer 3.0
This method displays any output to document that has
been written but not yet displayed, and closes the output
stream to document. When generating complete HTML
pages with Document.write(), you should invoke
Document.close() when you reach the end of the
page.
After document.close()
has been called, if any further output is written to
document (e.g., with
document.write()) then
the document will be implicitly cleared and reopened, erasing all the
output that was written prior to calling the
close() method.
Document.clear()
Document.cookie
file: /Techref/language/JAVA/script/definitive/refp_78.htm,
4KB, , updated: 2019年10月14日 16:00, local time: 2025年9月20日 04:51,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://techref.massmind.org/techref/language/JAVA/script/definitive/refp_78.htm"> [Chapter 21] Reference: Document.close()</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to techref.massmind.org!
.