/

HTML / CSS / JavaScript Tutorial

JavaScript Document own method: close()

[this page | pdf | back links]

The close() method (when applied to the document object of the JavaScript DOM) closes the output stream previously opened using document.open().

 

It has the following syntax. It takes no parameters and does not return a value.

 

document.close(node)

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript DOM (and BOM)


Desktop view | Switch to Mobile