jQuery foreach checkbox checked in tr > first td
<p>i want to iterate through the table rows and get the id and name of each checkbox checked in each tr in the first td and save it in a new Object() called values ex: values.id, values.name</p>

<p>Thanks</p>

<pre><code>&lt;table&gt;
    &lt;tr&gt;
        &lt;td&gt;
            &lt;input id="1" type="checkbox" name="name1" checked="checked"&gt;
        &lt;/td&gt;
        &lt;td&gt;
            Some input control 1
        &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
        &lt;td&gt;
            &lt;input id="2" type="checkbox" name="name2"&gt;
        &lt;/td&gt;
        &lt;td&gt;
            Some input control 2
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;
</code></pre>
