title: Highlight negative numbers in red
body: <p>I have a table gathering data from mysql. I use jquery to highlight the negative data in red.</p>
  
  <pre><code>$(document).ready(function() {
     $('td').each(function() {                                 
      var cellvalue = $(this).html();
      if ( cellvalue.substring(0,1) == '-' ) {
           $(this).wrapInner('&lt;strong class="colorred"&gt;&lt;/strong&gt;');   
      }
     });                     
  });
  </code></pre>
  
  <p>It works, but only in the last column, and i cant figure out why!!</p>
  
  <p>any ideas?</p>
  
  <p>here's the jsFiddle link
  <a href="http://jsfiddle.net/atseros/Af6Nz/17/" rel="nofollow">http://jsfiddle.net/atseros/Af6Nz/17/</a></p>