Closed
Bug 461949
Opened 17 years ago
Closed 17 years ago
Onchange event not fired with autocomplete
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: bugzilla.mozilla.org, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
When selecting an auto-complete entry for a text input field (either by mouse or keyboard), an onchange event connected to the input field is not fired.
Reproducible: Always
Steps to Reproduce:
1. Create the following form: <form><input id="test" onchange="javascript:alert('changed!')"><input type="submit"></form>
2. Fill in something in the text field, and exit the text field (for example by clicking anywhere on the page). The alert box shows.
4. Submit the form, it comes back emptied.
5. Perform an action to display the autocomplete list, for example by double-clicking the input field, or pressing the Down arrow while the field is focussed.
6. Select a value from the autocomplete list, either by mouse or keyboard.
7. Exit the input field (for example by clicking anywhere on the page), no alert box is shown this time.
Actual Results:
In the last step, no alert box is shown.
Expected Results:
The alert box, that is opened by the onchange event, should show.
Comment 1•17 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
I was not able to reproduce this. Did you also test this with a new profile or in safe-mode?
Ouch, you're right!
It actually turns out to be the Google Toolbar add-on that causes this. (That explains why the bug shows up on all Firefox installs I use.)
Disabled the Google Toolbar, and everything works as it should...
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•