Note:Does element have child nodes. Returns true or false. Syntax: document.getElementById("elementID").hasChildNodes()document.all.elementID.hasChildNodes() // IE only