Replacing the contents of a TD based on certain conditions using jQuery
<p>I need to accomplish the following:</p>

<p>I have a table that holds data that I need to edit/format:  </p>

<pre><code>&lt;tr&gt;&lt;td&gt;Tools and Other: Hammers&lt;/td&gt;&lt;tr&gt;
&lt;tr&gt;&lt;td&gt;Tools and Other: Wrenches&lt;/td&gt;&lt;tr&gt;
</code></pre>

<p>Based on conditions, I need to change the contents to the following:</p>

<pre><code>&lt;tr&gt;&lt;td&gt;Toolbox: Hammer&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Toolkit: Wrench&lt;/td&gt;&lt;/tr&gt;
</code></pre>

<p>How would I <em>simply</em> change the contents of these two TDs dynamically using jQuery?  Secondly - how would I remove just "Tools and Hammers" from every TD, if I decided to do it that way - like this:</p>

<pre><code>&lt;tr&gt;&lt;td&gt;Hammers&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Wrenches&lt;/td&gt;&lt;/tr&gt;
</code></pre>
