This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Enter key maping forJSP in MAC PC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Enter key maping forJSP in MAC PC" Watch "Enter key maping forJSP in MAC PC" New topic
Author

Enter key maping forJSP in MAC PC

Pradeep LV
Greenhorn

Joined: Nov 05, 2004
Posts: 8
Hi,

I am submiting the JSP page through javascript which is included dynomicaly. However, in MAC IE and Safari browsers, when i hit the ENTER key, the page is getting submited\Refreshed. This behaviour is common to all pages which contains buton and form tags. I dont want the enterkey maping. Please give me a solution

Thanks in advance
Pradeep
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

This isn't a Web Services question. You may want to find a better forum in which to ask this question.


Please ignore post, I have no idea what I am talking about.
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Thanks William.

Pradeep, the question sounds more like a client-side scripting (IMHO). I moving this to our "HTML and Javascript Forum".

Thank you.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
http://www.coderanch.com/t/115776/HTML-JavaScript/Form-Submit-Hitting-Enter-key
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Enter key maping forJSP in MAC PC