'parentNode' Syntax and Note : parentNode « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- parentNode
'parentNode' Syntax and Note
Note:
Read-only property.
Returns a reference to the node's parent node.
Syntax:
document.getElementById("elementID").parentNode
document.all.elementID.parentNode // IE only
Related examples in the same category