Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
Returns true if this node has children.
Syntax
boolValue = oDOMNode.hasChildNodes()
Returns
Boolean. Returns true if this node has children.
Remarks
This method offers a fast way to determine whether a node has children. This method always returns false for nodes that, by definition, cannot have children: the IDOMCDATASection, IDOMComment, IDOMNotation, IDOMProcessingInstruction, and IDOMText nodes.
Applies To
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.