You are here: irt.org | FAQ | JavaScript | Form | 2 | Q123 [ previous next ]
Yes it is possible, in several ways, but the most effective is:
<form name="myFormName"> <input type="text" name="myTextField"> </form> <script language="JavaScript"><!-- document.myFormName.myTextField.focus(); //--></script>