title: How to change table cell background color using jquery
body: <p>I want to change the background color of the cell based on its text contents using jquery.</p>
  
  <p>Example: </p>
  
  <p>For the second row in the "Exceeds" td, I want to change the background color to green because it has Exceeds as it's text...</p>
  
  <pre><code>&lt;table&gt;    
  &lt;tr&gt;&lt;td&gt;Jedi Armor1&lt;/td&gt;&lt;td&gt;Needs&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;Jedi Armor2&lt;/td&gt;&lt;td&gt;Exceeds&lt;/td&gt;&lt;/tr&gt;    
  &lt;/table&gt;
  </code></pre>