Can you filter an existing jquery object by context?
<p>I've got some elements cached in a jquery object. I now want to filter them by context. Can I do this or do I need to create another jquery object with my selector while also using the second context param?</p>

<p>Here's an example:</p>

<pre><code>var cached = $('.elements');
</code></pre>

<p>later I want to filter this array by context without creating another selector. If I was to just create another selector to do what I want it would look like this:</p>

<pre><code>//in event listener
var parent = $(this).closest('.parent');
$('.elements', parent).removeClass('class');
</code></pre>
