This topic has not yet been rated - Rate this topic

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.

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.