Element.childNodes
Get the immediate descendants of an element, including text fragments and other non-element nodes.
var elem = document.querySelector('#some-elem');
var descendants = elem.childNodes;
Get the immediate descendants of an element, including text fragments and other non-element nodes.
var elem = document.querySelector('#some-elem');
var descendants = elem.childNodes;