DHTML Methods
DOM Level 1 Specification.
Returns whether the given node has children.
bChildNodes = object.hasChildNodes ( )
Boolean. Returns true if the object has childNodes.
This method offers a convenient way to determine whether a node has children. The method always returns false
for nodes that, by definition, cannot have children: the CDATASection, Comment, Notation, ProcessingInstruction, and Text nodes.
If the object has children, they can be accessed from the childNodes or children collection.