nextSibling method
Retrieves the next sibling of the current node in the filtered TreeWalker hierarchy and updates currentNode.
![]() ![]() |
Syntax
var oNode = TreeWalker.nextSibling();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.
Standards information
Remarks
nextSibling sets the currentNode to the returned node. It returns null if there are no more child nodes.
See also
Show:

