From this:
var $saved = $('#parent').find('a');
How can I now sub-select those elements in $saved that have the myClass class?
I donβt want the descendants (therefore, find or children do not fit), I want a subset of $ saved.
var $refined = $saved.[something something];
Essentially, I want $refined to be $('#parent').find('a.myClass'); but started with $saved .
Thanks.
Nick source share