function
jqCheckAll(id, pID) {$(
"#" + pID + " :checkbox").attr('checked', $('#' + id).is(':checked'));}
input
type="checkbox" name="checkAllSH701" id="checkAllSH701" onclick="jqCheckAll( this.id, 'SH701_ChkBoxTBL' );"/> I'm having trouble handling unchecking the checkall checkbox if the user manually deselects one of the checkboxes.I was able to find this which would work but I can't hardcode the "GRIDVIEW1" as I will have an accordion UI with mutiple checkall checkboxes on each accordion panel..so each accordion panel will have a checkall checkbox which checks all of the checkboxes for that panel. So, I was able to find this: