Want to have ENTER key = Click on Button Submit
Hi,
I have 2 fields on my page (user, password) and 1 button (Connect)
When he clicks on "Connect" it does a--> javascript:return QuickCheck(this);
If its true, it is submitted and goes to other page.
BUT .. Here is my request.
When the user enters his password .. if he presses ENTER key instead of clicking on Connect, I would like to do as if he clicked on Connect and go with the QuickCheck.
How can I do that?
Re: Want to have ENTER key = Click on Button Submit
instead of putting javascript:return QuickCheck(this); in the "onclick" event of the button, put it in the "onsubmit" event of the form.
this will react the same no matter how the form is submitted.