'lastChild' Syntax and Note : lastChild « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- lastChild
'lastChild' Syntax and Note
Note:
Read-only property.
Returns the last child in the childNodes.
Syntax:
document.getElementById("elementID").lastChild
document.all.elementID.lastChild // IE only
Related examples in the same category