The script below creates 3 checkboxes. Can anyone please help me to write a script that if checkbox A is pressed then the others (B and C) are disabled, and if checkbox B or/and C are pressed checkbox A will be disabled.
Thanks.
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<p>A
<input name="A" type="checkbox" id="A" value="checkbox">
</p>
<p>B
<input name="B" type="checkbox" id="B" value="checkbox">
</p>
<p>C
<input name="C" type="checkbox" id="C" value="checkbox">
</p>
</body>
</html>
Thanks.
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<p>A
<input name="A" type="checkbox" id="A" value="checkbox">
</p>
<p>B
<input name="B" type="checkbox" id="B" value="checkbox">
</p>
<p>C
<input name="C" type="checkbox" id="C" value="checkbox">
</p>
</body>
</html>