Jquery Iterate over table and highlight cells that have changed
<p>I have a table that is a history of a mysql record.</p>

<p>I want to add a button that will highlight the changes.</p>

<pre><code>&lt;table&gt;
&lt;tr&gt;
  &lt;td&gt;100&lt;/td&gt;
  &lt;td&gt;200&lt;/td&gt;
  &lt;td&gt;300&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td&gt;100&lt;/td&gt;
  &lt;td&gt;200&lt;/td&gt;
  &lt;td&gt;600&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>In this example the 600 would be highlighted as it was 300 and is now 600.</p>

<p>UPDATE: Thanks, I should have said there would be more than 2 rows. could be upto 20 rows</p>
