0
Q:

how to count all childs

//only the first level child elements
document.getElementById("parrent").childElementCount
0

New to Communities?

Join the community