How to use filters on JavaScript array?
<p>I am using jQuery 1.7.1</p>

<p>I am trying to optimize some jQuery and need a little help.  I have some text that appear in divs with the class of Header, like this:</p>

<pre><code>&lt;div class='Header'&gt;Some Text&lt;/div&gt;
&lt;div class='Header'&gt;More Text&lt;/div&gt;
&lt;div class='Header'&gt;Even More&lt;/div&gt;
</code></pre>

<p>Normally, I would do this to slide up every div except for the first one.  Later, I would do something similar and have to use jQuery to find the divs again, which is what I am trying to avoid.</p>

<pre><code>// CLOSE ALL EXCEPT THE FIRST
$(".Header:not(:first)").slideUp();
</code></pre>

<p>So, I know I want to put my divs with the Header class into an object like this:</p>

<pre><code>var $HeaderArray = $(".Header);
</code></pre>

<p>Now I want to perform functions on them, but I can't figure out how to access them the same way that I did previously, using the filters, not and first.  What I want to do is something like this:</p>

<pre><code>$HeaderArray:not:first.slideUp();
</code></pre>

<p>This doesn't work. What is the right way to use filters to get at the right divs?</p>
