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
Revision as of 19:49, 4 February 2013 by Kenneth John Odle (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.'