New row count after each TH
<p>I have a table with a few rows with  and a few ones with  following. Is there a way to apply style to the TDs as in odd/even restarting after every row with THs with jQuery?</p>

<pre><code>&lt;table&gt;
&lt;tr&gt;
  &lt;th&gt;header 1&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;123&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;445&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;7899&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;th&gt;header 2&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;asd&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;ddd&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;ggg&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt; 
</code></pre>
