问题: 使用$('#id').attr('checked','checked'),多次调用只有第一次生效 解决方案: 使用prop方法代替attr方法,$('#id').prop('checked','checked')