I'm trying to give the user a chance to cancel a form submission.
Must be too early and I'm a little fuzzy anyhow this doesn't work. Can anyone help? All help is much appreciated.
Glen
Code:
<script language="JavaScript">
function chkForm() {
if (confirm("Are you sure you want to send form?")) {
submit();
}
else return(false);
}
</script>
...
<FORM action = "test.htm" onsubmit = "chkForm(this)" >
<input id="ID00" type="text" value="00"> <br />
<input type="submit" />
</FORM>
Glen