Autofocus on page load
Last Updated: 2006-07-23
Provide Field Focus
This easy "nice-to-have" puts the cursor directly into the first input field (first_name) when the form is displayed. Use the BODY onLoad event, you can save your visitors a click of the mouse:
<BODY onLoad="document.forms[0].first_name.focus();">
Source: http://www.sitepoint.com/article/steps-useable-forms
Originally Posted by Skylinux @ 2006-07-23 10:24:54
No Comments yet .....
Add Your Comment:
Note: All posts require administrator approval. Please allow 24 hours for message approval.