Second occurrence of checkbox
<p>How to get the second occurrence of checkbox ?
Here is what I have tried:</p>

<pre><code>&lt;div id="form"&gt;
    &lt;label for="first"&gt;First&lt;/label&gt;
    &lt;input type="checkbox" name="first" value="1" &gt;
    &lt;br /&gt;
    &lt;label for="second"&gt;Second&lt;/label&gt;
    &lt;input type="checkbox" name="second" value="2" &gt;
    &lt;br /&gt;
&lt;/div&gt;

$('#form').find('input[type=checkbox]').eq(1)
</code></pre>

<p>But it doesn't work for me.</p>
