jQuery判断及更改checkbox状态

判断:jquery对象.prop("checked")

选中:jquery对象.prop("checked", true)

取消选中:jquery对象.removeAttr("checked")

注意点在prop与attr使用的区别上

原文地址:https://www.cnblogs.com/shenxinpeter/p/6017288.html