摘要: 用途 设置全选的时候,子元素第一次设置attr('checked', true)页面是正常的 但是当取消全选第二次在设置attr('checked', true)时发现页面不生效 第一次写法 $('input[name="checkbox"]').attr('checked', true) 这个写法 阅读全文
posted @ 2020-06-10 16:01 dropInInt 阅读(316) 评论(0) 推荐(0) 编辑