//某个div下所有复选框清空
$("#authModal input[type='checkbox']").each(function(){this.checked=false;});
//单个复选框选中
$('#'+htmIdsArr[i]).prop("checked",true);
//某个div下所有复选框清空
$("#authModal input[type='checkbox']").each(function(){this.checked=false;});
//单个复选框选中
$('#'+htmIdsArr[i]).prop("checked",true);