Export (0) Print
Expand All

lastChild method

Retrieves a reference to the last child of the current node of 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.lastChild();

Parameters

oNode [out, retval]

Type: Node

Object that receives the last child node in the filtered TreeWalker hierarchy.

Return value

Type: Node

Object that receives the last child node in the filtered TreeWalker hierarchy.

Standards information

Remarks

lastChild sets the currentNode to the returned node.

See also

TreeWalker

 

 

Show:
© 2014 Microsoft