let\'s say I have a markup like this:
... ... ...
and
Have a look here -- to query a sub-element of an element:
$(document.getElementById('parentid')).find('div#' + divID + ' span.child');