Element.canHaveChildren (Property)

A Boolean flag indicating whether this element may have child Nodes associated with it.

Availability:

JScript - 5.0
Internet Explorer - 5.0
Property/method value type:Boolean primitive
JavaScript syntax:IEmyElement.canHaveChildren

If an element is able to own child Nodes and hence populate its childNodes[] collection and its children[] and all[] collections, then this property should be set true.