November 2001
Intermediate to advanced
936 pages
68h 43m
English
TreeWalker.parentNode( ) — return the nearest ancestor that is not filtered out
DOM Level 2 Traversal
Node parentNode( );
The nearest ancestor of the current node that is not filtered out, or
null if there is no such ancestor.
This method sets currentNode to the nearest
ancestor of the current node that is not filtered out and returns
that ancestor. If there is no such ancestor, it leaves
currentNode unchanged and returns
null.