Mutually exclusive Check Box
Hi
I have two check box. My requirment is if check one check box the other check box should be unchecked. I don't know how to do this.
Both should be mutually exclusive when checked. But both can be unchecked at the same time.
Here is the HTML.
-
<html>
<head>
<title>Check Box</title>
<script src="jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
});
</script
</head>
<body>
<b>Mutually Exclusive Checkbox example</b>
<form name="myform">
IncludeZip<input type="checkbox" id="checkbox1" name="checkbox1" ></br>
ExcludeZip<input type="checkbox" id="checkbox2" name="checkbox2" ></br>
</form>
</body>
</html>
Please help.