How to use jQuery to find a specifc TD in a table?
<p>I am using jQuery 1.6.2</p>

<p>I am having a little trouble tweaking my jQuery.  I need to find a specific cell and change its color attribute.</p>

<p>The first row may or may not be the one that I am looking for. The row I am looking for may or may not have a class.  If the first row has a class of "TableSubHead", then I don't want to turn the last cell of its row yellow.  I want to move on to the following row, and turn its last cell yellow.</p>

<p>In pseudocode, it should read like this:</p>

<p>Look in the OrderHeaderTable. Find the first row that doesn't have a class of TableSubHead and turn the last cell yellow.</p>

<p>Here's my code</p>

<pre><code>$("#OrderHeaderTable tr:first(:not.TableSubHead").children("td:last").css("background", "yellow");
</code></pre>

<p>Can you help me tweak it to get what I want?</p>
