title: Disable all check boxes inside a table with jquery
body: <p>I need to disable all the check boxes inside a table cell when clicking on a hyperlink inside the same table.</p>
  
  <p>I'm using the following jquery code to select all the check boxes nested inside the table.</p>
  
  <pre><code>$el = $(this).parents('table:eq(0)')[0].children('input[type="checkbox"]');
  $($el).attr('checked', true);
  </code></pre>
  
  <p>For some reason this piece of code is not working.</p>
  
  <p>Can anyone show me how to fix it?</p>