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

'previousSibling' Syntax and Note

Note:

Read-only property. 
Returns a reference to the previous child.
    
Syntax:
    
document.getElementById("elementID").previousSibling
document.all.elementID.previousSibling // IE only

    

      
      








Related examples in the same category

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