<script type="text/javascript">
$(function(){
$("#checkAll").click(function(){
if(this.checked==true)
{
$(":checkbox:not(input[id='checkAll'])").attr('checked',true);
}
else
{
$(":checkbox:not(input[id='checkAll'])").attr('checked',false);
}
})
})
</script>