title: Jquery Looping through a table to find specific TD
body: <p>I wish to loop through the table and color the TD of every value  that is negative. Right now it colors the whole row, what can I change to fix it?</p>
  
  <p><a href="http://jsfiddle.net/LEnRj/" rel="nofollow">http://jsfiddle.net/LEnRj/</a></p>
  
  <h2>Jquery</h2>
  
  <pre><code>$('.my-table tr').each(function(index, tr) {
      var lines = $('td', tr).map(function(index, td) {
          return $(td).text();    
      });
  
      if( lines[1] &lt; 0 ) {
           $(this).css('background-color', 'red');
      }   
  });
  </code></pre>