Javascript Reference
Objects > Node
javascript Node nodeType
Returns an integer that corresponds to a node type as specified in the W3C DOM. This is the preferred property to use to test a node object for its ty
javascript Node normalize( )
Collapses all sibling text nodes of the current (element) node into a single text node. Invoking this method may be needed after inserting or re
javascript Node ownerDocument
Returns a reference to the document object that contains the current node. Potentially helpful for functions that act on object references retriev
javascript Node parentNode
Returns a reference to the next outermost node (usually an element) that acts as a container to the current node in the document tree. The relations
javascript Node removeChild( )
Removes a child node from the current element. The parameter must be a reference to an existing child node nested inside the current element. On
javascript Node swapNode( )
Exchanges the current node (in the document tree) with a different node passed as a parameter. The other node object can be created anew, or it can
< 16-21 / 21

Powered by Linode.