hasChildNodes method

[This documentation is preliminary and is subject to change.]

Returns a value that indicates whether the object has children.

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

Syntax

VARIANT_BOOL retVal = object.hasChildNodes();

Standards information

Parameters

This method has no parameters.

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

 

 

Build date: 1/26/2012