firstChild method
Retrieves a reference to the first child of the current node of the filtered TreeWalker hierarchy and updates currentNode.
![]() ![]() |
Syntax
var oNode = TreeWalker.firstChild();Parameters
- oNode [out, retval]
-
Type: Node
Object that receives the first child node in the filtered TreeWalker hierarchy.
Return value
Type: Node
Object that receives the first child node in the filtered TreeWalker hierarchy.
Standards information
Remarks
firstChild sets the currentNode to the returned node.
See also
Show:

