|
-
Dec 8th, 2005, 04:42 PM
#1
Thread Starter
Hyperactive Member
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?
-
Dec 8th, 2005, 04:54 PM
#2
Hyperactive Member
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.
If this post helps, please RATE MY POST!
Using Visual Studio 2005 SE
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|