Sorry, the right question is:
How can I remove the entirely row containing the checkbox with the value for example 5? The value is returned to me by a PHP script, and of course is always different. <table> <tr class="mouseOver"> <td><input type="checkbox" value="1" name="chk[]"/></td> <td>foo</td> </tr> <tr class="mouseOver"> <td><input type="checkbox" value="5" name="chk[]"/></td> <td>foo2</td> </tr> <tr class="mouseOver"> <td><input type="checkbox" value="10" name="chk[]"/></td> <td>foo2</td> </tr> </table>