Toggle posts
A A+ A++
23
Comments off · Posted by ckson in Jquery, 开发日志
Javascript | copy |? 1$(window).load(function() {2 $(’#hobby_anti_all’).click(function () {3 $(’input[name="list[]"]’).attr("checked",function(){4 if($(this).attr("checked")==false) return true;5 return false;6 });7 }) ;8 });
Jquery · 全选 · 反选