parentNode
Collapse the table of content
Expand the table of content

parentNode method

Retrieves the parent object in the document hierarchy relative to the current node and updates IDOMTreeWalker::currentNode.

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

 

Syntax


Node retVal = object.parentNode();

Parameters

This method has no parameters.

Standards information

Remarks

IDOMTreeWalker::parentNode sets the IDOMTreeWalker::currentNode to the returned node.

 

 

Show:
© 2016 Microsoft