Query only the direct children of an element with a provided selector

xtag.queryChildren(ELEMENT, SELECTOR)

ArgumentTypeDescription
ELEMENTDOM element referenceA reference to the DOM element you wish to query
SELECTORStringThe CSS selector string you would like to test for matches against the element's direct children.
var arrayOfRedLinks = xtag.queryChildren(myElement, 'a.red');
// Finds all links with the class 'red'