jquery checkall 插件

发表于 2020-06-18 19:28:31   |   下载附件   |   字体:
checkAllJquery 全选与不全选全选插件全选反选
<form>
  <table>
    <thead>
      <tr>
        <th><label><input type="checkbox" data-toggle="checkall"></label></th>
        <th>First Name</th>
        <th>Last Name</th>
        <th>Username</th>
      </tr>
    </thead>
    <tbody>
        <tr>
          <td><input type="checkbox" name="" value=""></td>
          <td>Mark</td>
          <td>Otto</td>
          <td>@mdo</td>
        </tr>
        ....
      </tbody>
  </table>
</form>