$("#fun_menu_body :checkbox").removeAttr("checked"); // 先清空$.each(result.rows, function(i, n) {$("#fun_menu_body :checkbox[value='123']").attr("checked", "true");}); prop 与 attr 的区别。
prop 与 attr 的区别。
搞定,谢谢
$("input[name='fun_menu_body']").removeAttr("checked"); Copyright © 2019- sgwc.cn 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务