parentNode method
Retrieves the parent object in the document hierarchy relative to the current node and updates IDOMTreeWalker::currentNode.
Syntax
Node retVal = object.parentNode();
Parameters
This method has no parameters.
Standards information
Remarks
IDOMTreeWalker::parentNode sets the IDOMTreeWalker::currentNode to the returned node.