Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns a value that indicates whether the object has children.
![]() |
Syntax
retVal = object.hasChildNodes();
Parameters
This method has no parameters.
Standards information
Remarks
If the object contains HTML Elements or TextNodes, they can be accessed from the childNodes collection.
In Microsoft Internet Explorer 6, This method now applies to the attribute object.