Closed Bug 276165 Opened 20 years ago Closed 20 years ago

FireFox unable to detect form submit on Enter if scripted

Categories

(Firefox :: General, defect)

1.0 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 54341

People

(Reporter: jim, Assigned: bugzilla)

References

()

Details

I made a demostration page at http://idexer.com/ff.htm to duplicate the 
problem I am encountering with FireFox. Go to this page and enter a search 
string and hit the enter key. Do the same with any other browser and notice 
they all submit the search string to Google.
Summary: FireFox unabe to detect form submit on Enter if scripted → FireFox unabe to detect form submit on Enter if scripted
Summary: FireFox unabe to detect form submit on Enter if scripted → FireFox unable to detect form submit on Enter if scripted
Is there a reason you're not just using the form's onSubmit event? In any case,
the problem is with the window.event.keyCode, which is not defined in
Mozilla/FF. See also bug 50264 comment 4.

*** This bug has been marked as a duplicate of 54341 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.