
The Object Scripting Model - The Document Object
The Document Object.
The Documents' methods.
The documents methods are used by the document to control what is displayed
in it.
The clear method
document.clear()
Clears the documents write buffer.The close method
document.close()
Writes the contents of the document write buffer to the sceen and closes the write buffer.The open method
document.open()
Opens the documents write buffer, any write or writeln commands that occur after this write to the now open write buffer.The write method
document.write(string)
Writes the string specified to the write buffer.The writeln method
document.writeln(string)
Writes the string specified to the write buffer followed by a carridge return/line feed character.