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.2Internet Explorer 9

Syntax

object.previousNode(oNode)

Parameters

oNode [out, retval]

Type: Node

 Object containing the previous node in the list.

Return value

Type: Node

 Object containing the previous node in the list.

Standards information

See also

NodeIterator
TreeWalker

 

 

Show:
© 2014 Microsoft