Closes an output stream, and forces the sent data to display.
Syntax
document.close()
Return Value
No return value.
Remarks
When a function fired by an event on the BODY object calls the close method, the window.close method is implied. When an event on the BODY object calls the close method, the document.close method is implied.
Applies To