Javascript Reference
Categories: TreeWalker

javascript TreeWalker nextNode( ), previousNode( )

@May 1, 2008, 1:36 p.m.
nextNode( ), previousNode( ) Firefox/Netscape/NN 7 IE n/a Chrome/Safari/DOM 2  

 

  

Move the internal NodeIterator pointer one position forward (nextNode( )) or backward (previousNode( )), while returning a reference to the node through which the pointer passed en route. These two methods operate as if the hierarchy were flattened (in the manner of a NodeIterator object).

 
Parameters

None.

 
Returned Value

Reference to a node in the document tree.


Powered by Linode.