61,115
社区成员
发帖
与我相关
我的任务
分享
$("#fun_menu_body :checkbox").removeAttr("checked"); // 先清空
$.each(result.rows, function(i, n) {
$("#fun_menu_body :checkbox[value='123']").attr("checked", "true");
});
$("input[name='fun_menu_body']").removeAttr("checked");
这样就可以移除所有选中的了