do something like: <input onkeypress="processEnterKey();return false;" ../> don't know if you have to use onkeypress, onkeydown, onkeyup, but you get the idea.
gerolf On 10/9/07, lizz <[EMAIL PROTECTED]> wrote: > > > I have a panel with some text fields and two buttons (button A and B) > I would like the 'ENTER' keyboard event to behave the same way as the > 'tab' > keyboard event (that is move on to the next text field) > Currently button A is clicked when the the 'enter' key is pressed in a > text > field and I dont want this to happen. > How do I change this? > -- > View this message in context: > http://www.nabble.com/%27tab%27-and-%27enter%27-keyboard-events.-tf4595047.html#a13118262 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
