Delete row table if checkbox not selected
Hi,
First of all sorry for my bad english.
My problem is that I have a table with a column of checkboxes. When I click on a button I want to delete the rows with a checkbox unselected.
My script is that:
- $("#btnChecked").click(function()
- {
- if($("input.GarClaCheckBox[type=checkbox]").not(":checked"))
- {
- $("div.GarClasDiv tr.Clausola").toggle();
- }
- });
- });
Can you help me?
Thanks...!