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

'nextSibling' Syntax and Note

Note:

Read-only property. 
Returns a reference to the parent element's next child. 
All the children of a single parent are referred to as siblings.
    
Syntax:
    
document.getElementById("elementID").nextSibling
document.all.elementID.nextSibling // IE only

    

      
      








Related examples in the same category

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