How to get jQuery to apply class to first td in a row
<p>I currently have a table which is a while loop from the results in my database. In my table row it contains a value which will be + or - amount of days. I am trying to create a jQuery script which will find out if the td contains("-") or ("+") and I want it to apply a css style to the first td of that row. At the moment it applies it to every first td in <strong>all</strong> rows.</p>

<pre><code>        $("tr td:nth-child(7):contains('+')").each(function() {
    $('tr td:first-child').css('background-color', 'blue');
    });
</code></pre>
