判断:jquery对象.prop("checked")
选中:jquery对象.prop("checked", true)
取消选中:jquery对象.removeAttr("checked")
注意点在prop与attr使用的区别上
判断:jquery对象.prop("checked")
选中:jquery对象.prop("checked", true)
取消选中:jquery对象.removeAttr("checked")
注意点在prop与attr使用的区别上
转:https://www.cnblogs.com/shenxinpeter/p/6017288.html