Open
Bug 731982
Opened 12 years ago
Updated 2 years ago
Clicking button before alert from onchange appears does not show alert from the button's onclick
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: nagyi, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7 Steps to reproduce: I have two input field: a text field with onchange action and a button field with onclick. Write something in the text field then immediatly press the button! Actual results: the text field onchange function calling but the button field onclick doesn't Expected results: both functions should be called
Comment 1•12 years ago
|
||
It works if remove alert();
Reporter | ||
Updated•12 years ago
|
Attachment #601940 -
Attachment mime type: text/plain → text/html
Comment 2•11 years ago
|
||
2013-11-14-03-02-04-mozilla-central-firefox-28.0a1.en-US.linux-x86_64 With example2.html, both indications of events appear. With example.html, only one alert appears (the button can be clicked, as is evident from it looking pressed when hovered over).
Component: Untriaged → Event Handling
OS: Windows 7 → All
Product: Firefox → Core
Comment 3•11 years ago
|
||
Could bug 343351 be related somehow?
Summary: after onchange missing onclick → Clicking button before alert from onchange appears does not show alert from the button's onclick
Bug 440659 might be related too.
Assignee | ||
Updated•5 years ago
|
Component: Event Handling → User events and focus handling
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•