This wiki is for the exclusive use of my friends and colleagues. Account creation and anonymous editing have been turned off.

If you are a friend or colleague of mine, and would like to participate in this project, please send me a message.

If you find these pages useful, please donate to help cover server costs. Thanks!

HTML DOM Document Object Methods

From OdleWiki


close() Closes a new document that was created with the open() method.
getElementById(ID) Returns the element represented by ID.
getElementsByName(name) Returns a collections of elements represented by name.
getElementsByTagName(tag name) Returns a collection of elements represented by tag name.
open() Opens a new document in a window or frame.
write(text) Writes new text to a document.
writeln(text) Writes new text to a document, followed by a line break.'