previousNode method

Returns the previous node in the NodeIterator or TreeWalker list and updates currentNode.

Document Object Model (DOM) Level 2 Traversal and Range Specification, Section 1.2

Syntax

object.previousNode(oNode)

Parameters

This method has no parameters.

Return value

Type: Node

 Object containing the previous node in the list.

Standards information

See also

NodeIterator
TreeWalker

 

 

Show:
© 2014 Microsoft