摘要: $(document).ready(function(){ //checkbox全选 $('#btn1').click(function(){ $("[name = 'checkbox']").attr('checked',true); }); //checkbox取消选择 $('#btn2').click(function(){ $("[name = 'checkbox']").attr('checked',false); }); //checkbox反选 阅读全文
posted @ 2013-07-29 18:55 焦涛 阅读(218) 评论(0) 推荐(0)