Set Focus to First Available Form Control

Sometimes it is necessary to set the focus to the first available form control. The problem is that complex web pages can contain multiple forms and each form individually can contain hidden or disabled elements and controls that cannot accept focus. In this tutorial we will create a function which iterates through all forms until it finds the first available form control.

 
Visit Site:
Set Focus to First Available Form Control
Filed in:
JavaScript / Tutorials & Tips / Forms
Date Added:
Jan 2, 2007 
Last Updated:
Jan 2, 2007 

License and Pricing Information

Publisher site visits: 1,121
Average rating: 0.00
Total ratings: 0

Be the first to review this listing!

Publisher Info

Author:
WebCheatSheet 
Other listings by this publisher

Share this Listing