You are here: irt.org | FAQ | JavaScript | Form | Q1672 [ previous next ]
Simply invoke the form's reset method, immediately after defining the form, for example:
<form name="myForm"> <input type="text"> </form> <script language="JavaScript"><!-- document.myForm.reset(); //--></script>