checkAll change attr('checked') to prop('checked')
Change all attr('checked') to prop('checked')
jquery to jQuery