u can just use (request.getParameter("buttonname"))!=null to see if the
button is  pressed and carry on..this works fine with both...
rekha

Hi All ,

I have a simple login form with two textboxes :
Login , Password and a submit button .

When the user has finished entering the password and
presses enter on the keyboard , automatically the
submit button is pressed and he is taken to the next
page , instead of having to click the submit button
using the mouse .

This only works in IE but not in Netscape . Does
anyone know of a solution to do this in Netscape ?

Can keyboard events like "EnterKeyPressed" be captured
in JavaScript ?


Thanks
Vivek

__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one Place.
http://shopping.yahoo.com/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.html
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to