how to add class to the last two TRs and apply style to the TDs inside those TRs
<p>I am trying to 
1) add a class to the last two TRs of every table on the page
2) and also style the 1st, 2nd, 5th and 8th TD of those two TRs.</p>

<p>The below piece of code doesn't seem to be working. </p>

<pre><code>  var rowCount = $('table tr').length;
$('table tr').eq(rowCount - 1).addClass('myClass');
$('table tr').eq(rowCount - 2).addClass('myClass');
</code></pre>

<p>Thanks</p>

<p>BB</p>
