View Full Version : pressing enter rather than clicking button

05-26-2005, 09:18 AM
I have a submit button for a form but when I press enter it does not press the submit button, I have to manually click on it, how do I change this?

Harry Armadillo
05-26-2005, 09:41 AM
IE is picky about how it fires event. For example, having an onclick event attached to a submit button will prevent enter from firing the submit event.

FWIW, I altered the earlier case-insensitive-search code to work with pressing enter.

05-26-2005, 09:41 AM
We need to see your code please, and also on what browser does the pressing enter to submit not work?

05-26-2005, 06:01 PM
:thumbsup: Thanks for updating that code Harry,

much appreceiated