|
|
Q1179 Is it possible to stop Microsoft Internet Explorer 4 submitting a form when enter is pressed?
irt.org | Knowledge Base | JavaScript | Form 7.1 | Q1179 [ previous next ] Q1179 Is it possible to stop Microsoft Internet Explorer 4 submitting a form when enter is pressed?Try:
The following was submitted by Jonno Smith This is apparently a 'feature' of IE. The simplest workaround I have found is not to use a submit button. Instead, provide an onclick method for a normal button. For all intents and purposes, this looks and works just like an ordinary form, but does not submit when the enter key is pressed.
The following was submitted by Pawe³ Piejko Instead of:
We can use:
Feedback on 'Q1179 Is it possible to stop Microsoft Internet Explorer 4 submitting a form when enter is pressed?'
|
-- div -->
|