I basically want to be able to hit the enter button and have my form submit.
Here is what happens.
I have a form with 1 text box and 1 button. The button looks like so
<input type=button name=cmdTest value=”Click Me” onclick=”DoSOmething();”>
as you can see its type is button, but the same thing happens if i make its
type submit.
Any way when i hit enter the form does seem to sumbit but it seems like it
does not execute the Onclick statement, which is what drives the app and
tells me what action to take, what code to execute, validate, etc.
Im wondering if because when i hit the enter button, its not really a onClick,
because if i click the button with my mouse then it all works fine.
Now if i hit enter twice, the second time it will submit, but not all the time.
But still annoying none the less.
So how do i set these up so that i can hit the enter button yet still be able
to call my functions and have the page submit?