Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enter Key Event in Netscape

Status
Not open for further replies.
Jan 26, 2005
3
JP
Dear all,

I would like to prevent the form being submitted when I press Return/Enter in Text field. I have Username and Password text fields and Submit button. When I press enter key in Username, focus will go to password field. And there Enter key is pressed again, focus will go to Submit button and the form will be submitted.


It is OK for IE. I want to make it work in Netscape. Anybody help me please. Any help much appreciated. Thanks in advance!

regards,
Mitchell
 

Do you want the functionality of the URL you provided to be kept, however? I'm confused as to why you've posted the link!

Also, what version of NN are you talking about?

Dan



The answers you get are only as good as the information you give!

 
Thank you so much for your reply. I have posted this link because I think I can't explain what I want because of my poor english. I am really sorry. I am using Netscape 7.0.

In Netscape 7.0, when I press Return/Enter key in Username Textbox, the key focus goes to Submit button and the form is submitted. I want focus to go to Password field. It doesn't work in Netscape.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top