'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