How do I select a collection of checkboxes...?
<p>I have the html:</p>

<pre><code>&lt;tr&gt;
&lt;td&gt;&lt;input type="checkbox" value="3" id="userListingSelect0" cssclass="cbDelete"&gt;
&lt;/td&gt;&lt;td&gt;general&lt;/td&gt;
&lt;td&gt;&lt;a href="editUser.aspx?userId=3"&gt;Edit&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;input type="checkbox" value="1" id="userListingSelect1" disabled="disabled" cssclass="cbDelete"&gt;
&lt;/td&gt;&lt;td&gt;hmladmin&lt;/td&gt;
&lt;td&gt;&lt;a href="editUser.aspx?userId=1"&gt;Edit&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
</code></pre>

<p>And im trying to use jQuery to get all of the checkboxes.</p>

<p>Im using:</p>

<pre><code>console.log(jQuery('.cbDelete').html());
</code></pre>

<p>But all im getting is undefined. How do I...</p>

<p>1) Get all the elements
2) Iterate through them?</p>

<p>I tried using:</p>

<pre><code>jQuery('.cbDelete').each(function () {

        console.log('got here');

        if (this.checked) {

            selectionMade = true;
        }
        resultsGot = true;

    });
</code></pre>

<p>And still it didn't get to to the 'got here' line so it looks like I cant get to collection. Not sure why....</p>
