jQuery in Action, 2nd edition*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Jsp " Watch "Jsp " New topic
Author

Jsp

Shreya Menon
Ranch Hand

Joined: Jul 31, 2001
Posts: 285
Hi,
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 ?
Thanks
maya
Frank Carver
Sheriff

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 frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
this is what you are looking for i think...
http://javascript.about.com/library/scripts/blsubmitonenter.htm
hope this helps
Shreya Menon
Ranch Hand

Joined: Jul 31, 2001
Posts: 285
Al,
Thanks so much,,
It really helped
maya
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Jsp