'parentNode' Syntax and Note : parentNode « Javascript Properties « JavaScript Reference

'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

1.'parentNode' Example
2.'parentNode' is applied to