showing results for - "check if an html element has any children"
Abigail
07 May 2017
1if (element.hasChildNodes()) {
2    // It has at least one
3}
4