js get number of child elements from div
snippet in javascript

js get number of child elements from div

user1440


 var x =
 document.getElementById("myDIV").childElementCount;