I have a bit of a dilemma.
I have a numeric box that adds several text boxes underneath it when the number changes (onchange event). When the user tabs to the next field from this numeric box, it jumps to the next field. But I want it to go to the field that is newly added.
Is there a cross-browser solution to stopping a user from tabbing from one field to another? And if so, is there a way to simulate what happens when the user hits tab without them doing it?
My plan is to capture the "tab event" and stop it if an ajax request is being made, and then re-do the tabbing action after it has finished. That way when the ajax action updates the form, the text cursor goes to the right field.
Any ideas?
Page 1 of 1
Simulated tabbing
#2
Posted 03 July 2009 - 08:08 AM
you can use the html tabindex attribute.
IP.Tracker Project Developer
See my development site @ www.CodeTheInter.net (BETA)

See my development site @ www.CodeTheInter.net (BETA)

Quote
If you make it idiot proof, they'll build a better idiot
Page 1 of 1

Sign In
Register
Help





MultiQuote
