Form Focus

Here's a helpful little script for anyone who has ever made a form and wants to have the cursor pop into their first field when the page is loaded. The visitor can start typing straight away, without moving the mouse.




Over 2000+ free Javascript
at JavaScriptBank.com Website
Sampled by JavaScriptBank.com
Please enter a number:  

All you need do is put
onLoad="self.focus();document.Form_Name.Field_Name.focus()" inside the <BODY> tag, where "Form_Name" is the name of your form, and "Field_Name" is the name of the first field.