You are here: irt.org | FAQ | JavaScript | Form | Q1560 [ previous next ]
Try this:
<script language="JavaScript"><!-- var buttonPressed = false; //--></script> <form onSubmit="return buttonPressed"> ... <input type="Submit" onClick="buttonPressed = true"> </form>