remove table which contains certain text
<p>I would like to remove the following table from the page with Jquery by targeting the following text "To add the above items to your cart".</p>

<p>I tried this but didn't work as expected it removes a different parent td.
Not sure how to target this td only.</p>

<p><code>$("* :contains('To add the above items to your cart')").closest('td').remove();</code></p>

<pre><code>&lt;td colspan="11" class="colors_backgroundlight" align="right"&gt; 
&lt;span&gt;To add the above items to your cart, click the "Add" checkboxes then click "Add To Cart" &amp;gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;input type=submit value="Add To Cart" onclick="refineResults=false;" name="checkboxes_mode_submitbtn"
</code></pre>

<p> </p>
