Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes HTML, CSS and JavaScript and the fly likes Jsp 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 "Jsp " Watch "Jsp " New topic


Shreya Menon
Ranch Hand

Joined: Jul 31, 2001
Posts: 285
Just a small question:
I have a login screen and I have a "image" labelled login in my page.
Now I enter my user id and password in the corresponding text boxes and I need to click the Login image to do the rest of the process.
But, I want to click the "Enter" button of the keyboard instead of clicking the Login image...
How do I activate this ?
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
This is really a HTML/JavaScript question, so I reckon you'll get a better answer over in our HTML/JavaScript forum.
I've moved this post for you. Good luck.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
this is what you are looking for i think...
hope this helps
Shreya Menon
Ranch Hand

Joined: Jul 31, 2001
Posts: 285
Thanks so much,,
It really helped
I agree. Here's the link:
subject: Jsp
Similar Threads
Handling the Event of the Image
image click action .....
Pressing ENTER when Button is selected doesnt fire buttonActionPerformed...
image click action .....
how do I ActionListener for ENTER ???