currentNode property
Sets or retrieves where the current node in a filtered TreeWalker hierarchy is positioned.
![]() ![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: Object
Object that receives the current node in the filtered hierarchy.
Exceptions
| Exception | Condition |
|---|---|
|
If currentNode is set to null. Earlier versions throw W3CException_NOT_SUPPORTED_ERR. |
Standards information
Remarks
currentNode will never return null in Windows Internet Explorer 9, even when the traversing method returns null.
See also
Show:

