jQuery操作Table技巧大汇总(2)

<style type="text/css"> .hover { background-color:red; } </style> <table cellpadding="0" cellspacing="0"> <tr> <th> <input type="checkbox"/> </th> <th>姓名</th> <th>性别</th> <th>密码</th> <th>地址</th> </tr> <tr> <td> <input type="checkbox" /> </td> <td>张三</td> <td>男</td> <td>zhangsan</td> <td>上海</td> </tr> <tr> <td> <input type="checkbox" /> </td> <td>李四</td> <td>男</td> <td>lisi</td> <td>安庆</td> </tr> <tr> <td> <input type="checkbox" /> </td> <td>王五</td> <td>男</td> <td>beijing</td> <td>北京</td> </tr> <tr> <td> <input type="checkbox" /> </td> <td>无名氏</td> <td>女</td> <td>wumingshi</td> <td>上海</td> </tr> <tr> <td> <input type="checkbox" /> </td> <td>赵老师</td> <td>男</td> <td>zhaolaoshi</td> <td>浙江</td> </tr> <tr> <td colspan="5"> <input type="button" runat="server" value="新增" /> <input type="button" runat="server" value="删除" /> <input type="button" runat="server" value="保存" /> </td> </tr> </table>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wgwgjd.html