CheckBox全选功能实现
<script type="text/javascript">$(function(){
$("#checkAll").click(function(){
if(this.checked==true)
{
$(":checkbox:not(input)").attr('checked',true);
}
else
{
$(":checkbox:not(input)").attr('checked',false);
}
})
})
</script>
页:
[1]