![]() |
|
|
+ Search |
![]()
|
Jul 8th, 2002 03:39
Laurent Gomez, alena tutor,
This works and was tested under IE5 and NN6
<html>
<head>
<script language="javascript">
function CheckThem() {
document.FormName.MyCheckBox.checked = true;
}
</script>
</head>
<body>
<form name="FormName" method="get" action="SomePage.html"
OnSubmit="CheckThem();">
<input type="checkbox" name="MyCheckBox">The CheckBox<br>
<input type="submit" value="Send">
</form>
</body>
</html>