M
Mel Smith
Hi:
My clients wish to use the <Enter> key to proceed forward from input
text field to next input text field, etc . I *know* that <Tab> is more
properly used for this purpose, but the users should be satisfied before me
I would like some guidance on creating a Javascript function in the
<head> section, that would be called in an <input> section with the
onkeydown="myenterkeyfunction". If the function detects an <enter> key focus
is advanced, if not, the key will be allowed its default action.
Can anyone help ??
btw, I'm looking at my reference (JavaScript - The Definitive Guide 5th
Edition by David flanagan) and found what looks appropriate but it is too
complex for my understanding ). It is in Chapeter 17, and is Example 17-6 -
'a Keymap class for keyboard shortcuts'
Can anyone provide a simple function and calling method for detecting
the <Enter> key (13), and setting focus to next input text field ??
Thanks for some further understanding of this 'keyboard events' issue
My clients wish to use the <Enter> key to proceed forward from input
text field to next input text field, etc . I *know* that <Tab> is more
properly used for this purpose, but the users should be satisfied before me
I would like some guidance on creating a Javascript function in the
<head> section, that would be called in an <input> section with the
onkeydown="myenterkeyfunction". If the function detects an <enter> key focus
is advanced, if not, the key will be allowed its default action.
Can anyone help ??
btw, I'm looking at my reference (JavaScript - The Definitive Guide 5th
Edition by David flanagan) and found what looks appropriate but it is too
complex for my understanding ). It is in Chapeter 17, and is Example 17-6 -
'a Keymap class for keyboard shortcuts'
Can anyone provide a simple function and calling method for detecting
the <Enter> key (13), and setting focus to next input text field ??
Thanks for some further understanding of this 'keyboard events' issue