title: jQuery how to select th inside a table id
body: <p>How do I select only the <code>&lt;th&gt;</code>s from the following code using jQuery selector? Thanks!</p>
  
  <pre><code>&lt;table id='tab1'&gt;
    &lt;tbody&gt;
      &lt;tr&gt;
        &lt;th&gt;col1&lt;/th&gt;
        &lt;th&gt;col2&lt;/th&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        ...
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>