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