...

View Full Version : pressing enter rather than clicking button



Vapor
05-26-2005, 08: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, 08: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.

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

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

much appreceiated



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum