hasChildNodes
hasChildNodes is a method that returns a boolean value indicating whether the current element has children or not.
Syntax
[ true | false ] = element.hasChildNodes()Parameters
Example
Notes
Note that element.hasChildNodes, without the parentheses, is the incorrect usage of this method, and always returns a true value indicating that the method is available on the object. Do not be fooled.
Specification
hasChildNodes
Netscape Communications http://developer.netscape.com |