This topic has not yet been rated - Rate this topic

nextSibling method

Retrieves the next sibling of the current node in the filtered TreeWalker hierarchy and updates currentNode.

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

Syntax

var oNode = TreeWalker.nextSibling();

Standards information

Parameters

oNode [out, retval]

Type: Node

Object that receives the next child of a parent node in the filtered TreeWalker hierarchy.

Return value

Type: Node

Object that receives the next child of a parent node in the filtered TreeWalker hierarchy.

Remarks

nextSibling sets the currentNode to the returned node. It returns null if there are no more child nodes.

See also

TreeWalker

 

 

Send comments about this topic to Microsoft

Build date: 11/8/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.