实现效果:点击头部,全选或全部取消
下面4个全点击 ,头部也点击
<div class="wrap">
<table>
<thead>
<tr>
<th>
<input type="checkbox" id="allcheck""/>
</th>
<th>菜名</th>
<th>饭店</th>
</tr>
</thead>
<tbody id="onecheck">
<tr>
<<