我的jsp中有下表。
<table class="myTable" id="myTable" border="0" cellspacing="0" style="border-spacing: 0; width: 100%; border-collapse: collapse;">
<tr class="impClass">
<td class="myClass">
<div>
<label for="delete">Delete</label>
<br>
<input class="mySecondClass" type="checkbox" id="delete" name="delete">
</div>
</td>
</tr>
<tr class="impClass">
<td class="myClass">
<div>
<label for="delete">Delete</label>
<br>
<input class="mySecondClass" type="checkbox" id="delete" name="delete">
</div>
</td>
</tr>
<tr class="impClass">
<td class="myClass">
<div>
<label for="delete">Delete</label>
<br>
<input class="mySecondClass" type="checkbox" id="delete" name="delete">
</div>
</td>
</tr>
</table>
如果选中了删除复选框,我想删除表的所有行。如何从使用table
其删除复选框中删除所有行jquery
?
请帮我。
谢谢!