In jQuery, how to test whether an element is the first of many elements of same class?
<p>I have 3 div's:</p>

<pre><code>&lt;div class='squares' id='div1'&gt;&lt;/div&gt;
&lt;div class='squares' id='div2'&gt;&lt;/div&gt;
&lt;div class='squares' id='div3'&gt;&lt;/div&gt;
</code></pre>

<p>With jQuery, I would like to apply a css property (a border-right) to all div's, except the first one.</p>

<p>What is the if statement that I should use? I want to use the class in the if statement (not the id's).</p>

<p>Thanks very much.</p>
