$(function() {
$("#checkAll").toggle(
function () {
$("input[name='id']").each(function() {
$(this).attr("checked", true);
});
},
function () {
$("input[name='id']").each(function() {
$(this).attr("checked", false);
});
});
});
全选 /全不选 jQuery
原创mb6444ed45406a4 ©著作权
文章标签 javascript ViewUI 文章分类 代码人生
©著作权归作者所有:来自51CTO博客作者mb6444ed45406a4的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇:CMD 常用的DOS命令 画图等
下一篇://字符串排序
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章