Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Make ENTER key submit form - NOT WORKING?

Reply
Thread Tools

Make ENTER key submit form - NOT WORKING?

 
 
Alexboy
Guest
Posts: n/a
 
      11-14-2005
Hello,

How do I make ENTER key act as a submit request?

As it is now, the user has to actually click "submit" for the form to
be submitted (in IE at least).

Is there any way to make the enter key submit the form?
Example:

http://www.surveysam.com/test2.html

Thanks!

 
Reply With Quote
 
 
 
 
web.dev
Guest
Posts: n/a
 
      11-14-2005

Alexboy wrote:
> Hello,
>
> How do I make ENTER key act as a submit request?
>
> As it is now, the user has to actually click "submit" for the form to
> be submitted (in IE at least).
>
> Is there any way to make the enter key submit the form?
> Example:
>
> http://www.surveysam.com/test2.html
>
> Thanks!


In all browsers, when you have focus on any of the elements within the
form, when the 'enter' key is pressed, by default will submit the form.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
STRUTS- <html:submit> does not submit on pressing Enter key Megha Vishwanath Java 2 10-02-2009 12:52 PM
Make ENTER key submit form - NOT WORKING? Alexboy HTML 2 11-14-2005 09:38 PM
Server generated code to make the enter key submit the form Wysiwyg ASP .Net 0 02-09-2005 07:59 PM
Enter Key H*ll, control enter key submit button BrianDH ASP .Net Web Controls 3 01-12-2005 08:29 PM
STRUTS-<html:submit> -Hitting enter key does not submit the form Megha Vishwanath Javascript 3 07-20-2004 05:45 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57