I have following selectors:
var $foo = $('.someClass');
var $rows = $('.rows');
$rows.each(function (index, element) {
var $row = $(element);
var $specificFoo = /* how to I get the specific foos, where $row is their parent */;
});
Any chance to do this?
For clarification:
Some $foo are child of $row – i am trying to query for this specific subset. See my example
try this,