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