Find table head (th) cells (td)

Find table head (th) cells (td)

What i'm currently trying to do is find all columns associated with a table header.

For example:

  1. <table id="thetable">
  2.   <thead>
  3.     <tr><th colspan="2">Column 1 header</th></tr>
  4.   </thead>
  5.   <tbody>
  6.     <tr><td>Column 1 data</td><td>Column 1 data</td></tr>
  7.   </tbody>
  8. </table>

I would be really happy if when something like this would be possible:
  1. var jqTh = $( '#thetable thead th:eq(0)' )
  2. jqTh.getTBodyColumns( ).toggle( ); // Get all cells for first th and hide them
Thanks in advance,

Jos