HTML DOM Document Object Methods
From OdleWiki
Revision as of 19:49, 4 February 2013 by Kenneth John Odle (talk | contribs)
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.' |