javascript TreeWalker nextNode( ), previousNode( )

nextNode( ), previousNode( ) NN 7 IE n/a 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.


2159,Nickname,Homepage or email,Comments here,Add comment