<html>
<head>
test
</head>
<body>
<table width="300px" border="1">
<tr>
<th>
<input type="button" style="display:block" id="selectAll" value="全选">
<input type="button" style="display:none" id="closeAll" value="取消">
</th>
</tr>
<tr><td><input type="checkbox" name="checkbox" /></td><td>2</td><td>1</td></tr>
<tr><td><input type="checkbox" name="checkbox"/></td><td>2</td><td>1</td></tr>
<tr><td><input type="checkbox" name="checkbox"/></td><td>2</td><td>1</td></tr>
<tr><td&g
checkbox全选和取消,附带单击表格tr选中功能
最新推荐文章于 2018-12-03 10:32:23 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)