I need it because I have multiple buttons. On some screens, the Enter key triggers the "Cancel" button, which is not desirable. The "Cancel" button appears before the "Submit" button.

Erik


Slattery, Tim - BLS wrote:

I found this JavaScript, which is supposed to listen for the "Enter" key on any browser (and submit the form on keypress).
However, it doesn't seem to be working in IE:



I don't think you need this. By default, pushing the "Enter" key is equivalent to clicking the "Submit" button.


-- Tim Slattery [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to