Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto go to next box without tabbing...

Status
Not open for further replies.

meldrape

Programmer
May 12, 2001
516
US
I have 3 telephone number input boxes (area code, prefix, suffix). Is there a way to automatically go to the next box after you finish typing in the first, etc.?
<input type=text size=3 name=&quot;ac&quot;><input type=text size=3 name=&quot;prefix&quot;><input type=text size=4 name=&quot;suffix&quot;>
Any ideas would be greatly appreciated. Thanks.
 
I would just count the characters or keystrokes in the box, then say, after 3, you can change focus.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top