Author | Topic: htm input | |
---|---|---|
Osvaldo Ramirez | htm input on Sat, 15 Oct 2005 18:53:01 -0600 Hola ... How to jump to the next input with the enter key ? Ex: <form...> <input 1 > <== I want to jump to input 2 with only one enter ? <imput 2 > pushbutton </form> Is it posible? Best Regards Osvaldo Ramirez | |
Phil Ide | Re: htm input on Mon, 17 Oct 2005 12:56:39 +0100 Osvaldo, > How to jump to the next input with the enter key ? > > Ex: > > <form...> > <input 1 > <== I want to jump to input 2 with only one enter ? > <imput 2 > > pushbutton > > </form> > > Is it posible? Yes it is possible, but it is browser dependant. Not only do you have to capture keystroke events, you also have to monitor event bubbling. You will have to write jscript code (which may be disabled by the client) and you have to suddenly become aware when a submit or other button has focus. In short, rather than spending 8 weeks working on a solution, just point people at the 'standard' behaviour of tabbing through controls. Regards, Phil Ide ******************************************* * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * * --------------------------------------- * * www.xodc.org.uk - openSource Dev-Center * ******************************************* WINDOWS, Just say NO!!! | |
Osvaldo Ramirez | Re: htm input on Mon, 17 Oct 2005 11:20:10 -0600 Hello Phil Ide > In short, rather than spending 8 weeks working on a solution, just point > people at the 'standard' behaviour of tabbing through controls. > Well, I tought that, it is the same that press enter than tab key ... Thanks & Best Regards Osvaldo Ramirez |