<html>
<head>
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script>
$(function(){
$("input[type='checkbox']").change(function(){
debugger;
if(($("input[type='checkbox']")[0]).checked) {
$("input[type='checkbox']").not($("input[type='checkbox']")[0]).attr("disabled","disabled");
}
else
{
$("input[type='checkbox']").not($("input[type='checkbox']")[0]).removeAttr("disabled");
}
});
});
</script>
</head>
<body>
<input type="checkbox" name="selectGroup" value="select All"> Select All<br>
<input type="checkbox" name="selectGroup" value="select 1">select 1<br>
<input type="checkbox" name="selectGroup" value="select 2">select 2<br>
<input type="checkbox" name="selectGroup" value="select 3">select 3<br>
</body>
</html>