remove check boxes with certain values
<p>I have the following snippet of code of which I do not have access to the markup to add id's/classes.</p>

<p>What I need to do is remove any checkboxes that have certain values. There are 10 or so values that if any of the checkboxes have these values they need to be removed from the markup. In addition to that I also need to remove its associated text "Add" at the same time which is directly before this checkbox input. How would I target just these checkbox inputs and associated "add" text for removal? </p>

<p>EDIT: lets say the values are 1234, abcd, efgh, ijkl, 54330, ll64, etc... I need to check against these and other values.</p>

<pre><code>&lt;table width="100%"cellpadding="0" cellspacing="0"&gt;&lt;tr&gt;
&lt;td valign="top"&gt;
&lt;b&gt;&lt;FONT class="pricecolorsmall colors_productprice"&gt;Sale Price: £4.95 &lt;/font&gt;&lt;/b&gt;
&lt;br /&gt;&lt;div class="337"&gt;Add&lt;/div&gt; &lt;input type="checkbox" name="ProductCode2"
value="480GCFD"&gt; 
&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt; 
&lt;/td&gt; 
&lt;td valign="top" width="25%"&gt; 
&lt;table width="100%"cellpadding="0" cellspacing="0"&gt;&lt;tr&gt;
&lt;td valign="top"&gt;
&lt;b&gt;&lt;font class="pricecolorsmall colors_productprice"&gt;&lt;font class="smalltext colors_text"&gt;&lt;b&gt;Sale Price &lt;/b&gt;&lt;/font&gt; £1.00 &lt;/font&gt;&lt;/b&gt;

&lt;br /&gt;&lt;div class="337"&gt;Add&lt;/div&gt; &lt;input type="checkbox" name="ProductCode2"
value="LL64"&gt; 
&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt; 
&lt;/td&gt; 
&lt;td valign="top" width="25%"&gt; 
&lt;table width="100%"cellpadding="0" cellspacing="0"&gt;&lt;tr&gt;
&lt;td valign="top"&gt;
&lt;b&gt;&lt;FONT class="pricecolorsmall colors_productprice"&gt;Sale Price: £8.50 &lt;/font&gt;&lt;/b&gt;
&lt;br /&gt;&lt;div class="337"&gt;Add&lt;/div&gt; &lt;input type="checkbox" name="ProductCode2"
value="54330"&gt; 
&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt; 
&lt;/td&gt; 

&lt;td valign="top" width="25%"&gt; 
&lt;table width="100%"cellpadding="0" cellspacing="0"&gt;&lt;tr&gt;
&lt;td valign="top"&gt;
&lt;b&gt;&lt;FONT class="pricecolorsmall colors_productprice"&gt;Sale Price: £4.95 &lt;/font&gt;&lt;/b&gt;
&lt;br /&gt;&lt;div class="337"&gt;Add&lt;/div&gt; &lt;input type="checkbox" name="ProductCode2"
value="460GCRS"&gt; 
&lt;/td&gt;
&lt;/tr&gt;&lt;/table&gt;
</code></pre>
