DOM-1 | « | < | § | > | Netscape CodeStock 1999 | ||
Selected DOM-1 'Node' Methods |
Signature | Remarks |
---|---|
insertBefore(newChild, refChild) | Inserts a child node into the document before the given node. |
replaceChild(newChild, oldChild) | Replaces the old node with the new node. |
removeChild(oldChild) | Removes the child node from the document. |
appendChild(newChild) | Adds the node to the document. |
hasChildNodes() | Returns true if the node has children. |
cloneNode(deep) | Generates a copy of the tree under the given node. |
Copyright © 1999 General Picture . Permission granted to reproduce in whole or part without charge as long as http://www.generalpicture.com is cited as source. |