Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
hasChildNodes

hasChildNodes method

Returns a value that indicates whether the object has children.

Document Object Model (DOM) Level 3 Core Specification, Section 1.4

 

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.

See also

About the W3C Document Object Model

 

 

Community Additions

ADD
Show:
© 2015 Microsoft