How to check all checkboxes in a specific column javascript?
<p>Say I have a table with 3 columns, only the 1st and 3rd column of TDs have checkboxes. I have a button that says "SelectAllFirst" that puts a checkmark on all checkboxes in the first column only, the 3rd remains uncheked. How do I accomplish this?</p>

<p>I thought it would be something like this:</p>

<pre><code>$("#mytable tr td:eq(0) input:[type=checkbox]").prop("checked", true);
</code></pre>

<p>(but that doesnt do anything. Removing the "eq(0)" results in all checkboxes including the 3rd column to be checked)</p>
