In jQuery, a DOM node or jQuery object can be passed as an attribute in a query that sets the scope:
var myScope = $('#someDiv'); $('a',myScope).addClass('red'); $('li',myScope).css('display','inline');
Now, in Dojo, I can bind several .query() one after another, but what should I do if I have a specific DOM node - not nodeList - that I want to use as a scope?
Kthnx
source share