摘要: $(function(){$("#ckAll").click(function(){//alert($(this).attr("checked"));if($(this).attr("checked")=="checked"){//$("input[id*=ckID]")选取ID有ckID的input控件$("input[id*=ckID]").each(function(){this.checked=true;});}else{$("input[id*=ckID] 阅读全文
posted @ 2011-06-23 17:21 Youismyo2 阅读(1070) 评论(0) 推荐(0) 编辑