摘要: $(function(){ //点击全选控制item checkbox是否选中 $("#allschool").bind("click",function(){ var ischecked = $("input[name='allschool']").attr("checked"); $("[name=schoolids]:checkbox").each(function(){ if(ischecked == 'checked') { $(this).attr(& 阅读全文
posted @ 2014-02-28 11:55 风禾 阅读(225) 评论(0) 推荐(0) 编辑