DekGenius.com
Team LiB   Previous Section   Next Section
Node.hasChildNodes( ) determine whether a node has children

Availability

DOM Level 1 Core

Synopsis

boolean hasChildNodes(  );

Returns

true if this node has one or more children; false if it has none.

See Also

Node.childNodes

    Team LiB   Previous Section   Next Section