gymshoe
08-28-2001, 12:34 AM
alrighty...i have a form that has an onClick command tied to the submit button. So when you click the Submit button with the mouse it will call whatever stuff i have declared for the onClick event.
So far so good.
In IE it allows a user to use the keyboard's enter/return key as a substitute for using the mouse and clicking the submit button.
However, when i hit the enter/return key, the onClick even never happens and thus the stuff i have declared for the onClick event never gets called and my stuff doesn't work the way it's supposed to.
So I'm wondering....how do I handle this?
i've tried onSubmit (or onsubmit) ......which i thought would work..but it doesn't.
Thanks for your help in advance!
-James
So far so good.
In IE it allows a user to use the keyboard's enter/return key as a substitute for using the mouse and clicking the submit button.
However, when i hit the enter/return key, the onClick even never happens and thus the stuff i have declared for the onClick event never gets called and my stuff doesn't work the way it's supposed to.
So I'm wondering....how do I handle this?
i've tried onSubmit (or onsubmit) ......which i thought would work..but it doesn't.
Thanks for your help in advance!
-James