Here is the code:
function myFunc(cb){
if($(cb).is(':checked')){
//alert("checked!!!");
$('input[name$="oliCheck"]').prop("checked",true);
}else{
$('input[name$="oliCheck"]').prop("checked",false);
}
//console.log(tName);
}
No comments:
Post a Comment