Focus OnLoad | JavaScriptSource

Focus OnLoad

JavaScriptSource Staff Sep 9, 2000
You can easily put the user's cursor inside a text box (calling giving the text box focus) as soon as the page is loaded. This helps ensure that visitors do not 'overlook' an important form item on your site. Only 1 line of code!
Name:

The JavaScript Source: Page Details: Focus OnLoad

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!

    

Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

(
0 comments)