<html>
<head>
<script language="JavaScript">
<!--
function checkb1() {
alert("You clicked on checkbox 1");
}
function checkb2() {
alert("You clicked on checkbox 2");
}
function checkb3() {
alert("You clicked on checkbox 3");
}
//-->
</script>
</head>
<body>
<form>
<input type="checkbox" onClick="checkb1()">A<br>
<input type="checkbox" onClick="checkb2()">B<br>
<input type="checkbox" onClick="checkb3()">C
</form>
</body>
</html>
|