This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes How to submit a form from a como box - with enter key Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to submit a form from a como box - with enter key" Watch "How to submit a form from a como box - with enter key" New topic
Author

How to submit a form from a como box - with enter key

chris gar
Ranch Hand

Joined: Jul 20, 2002
Posts: 45
I'm able to submit from text boxes by hitting enter, but I can't from combo boxes - I have to tab to next text field and hit enter.

Is there a way to submit the form by hitting the enter key while focus is in a combo box?

THanks
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
check this out

http://dev.kanngard.net/Permalinks/ID_20050426091851.html

Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to submit a form from a como box - with enter key
 
Similar Threads
question about down arrow key in swing
Enter key maping forJSP in MAC PC
how to clear the values of components on validation errors in JSF
Form Submit on Hitting Enter key
Submitting only selected textboxes in a JSP