You are here: irt.org | FAQ | JavaScript | Form | 9 | Q266 [ previous next ]
<SCRIPT LANGUAGE="JavaScript"><!-- function mySubmit() { setTimeout('document.myForm.reset()',2000); return false; } //--></SCRIPT> <FORM NAME="myForm" onSubmit="return mySubmit()"> <INPUT TYPE="INPUT"> <INPUT TYPE="SUBMIT"> </FORM>