Side navigation
#5970 closed bug (fixed)
Opened January 28, 2010 06:54PM UTC
Closed October 08, 2010 11:37PM UTC
Last modified April 03, 2012 06:42PM UTC
Change event isn't fired in IE on a text box when starting from a empty field.
Reported by: | tinyfly | Owned by: | brandon |
---|---|---|---|
Priority: | major | Milestone: | 1.4.2 |
Component: | event | Version: | 1.4.1 |
Keywords: | change ie | Cc: | |
Blocked by: | Blocking: |
Description
If you have an text input field with the .change() method attached. That change event isn't fired in IE if it was previously an empty text field. Once it has a value and then you change that value then it fires.
This appeared in the 1.4.1 version; 1.4.0 worked as expected.
Steps to recreate (with attached test case):
1. Load page and make sure input field is empty
2. Enter text in input
3. Blur off input (notice nothing happens)
4. Change text entered in step 1
5. Blur off input (notice how event fires)
Attachments (2)
Change History (10)
Changed January 29, 2010 02:05AM UTC by comment:1
keywords: | → change ie |
---|---|
milestone: | 1.4.1 → 1.4.2 |
need: | Review → Patch |
priority: | critical → major |
Changed January 29, 2010 03:23AM UTC by comment:2
resolution: | → fixed |
---|---|
status: | new → closed |
Seems like John has fixed this in 1.4.2:
http://github.com/jquery/jquery/commit/942f8f7f75a55a36e6b9745030d3b3c983518aa8
Give it a try when it comes out and reopen the ticket if not.
Changed February 12, 2010 09:38PM UTC by comment:3
resolution: | fixed |
---|---|
status: | closed → reopened |
As of the Mon Feb 8 23:28:15 2010 -0500 nightly build it isn't fixed.
Changed February 13, 2010 10:06AM UTC by comment:4
resolution: | → fixed |
---|---|
status: | reopened → closed |
@tinyfly: I copied your exact test page and I can verify that it's working in the latest trunk.
Changed March 03, 2010 05:31PM UTC by comment:5
resolution: | fixed |
---|---|
status: | closed → reopened |
I see why I thought it wasn't fixed. If you first focus the field using .focus() when the page loads then perform the steps it still exhibits the same buggy behavior. See new attachment.
Changed October 08, 2010 11:37PM UTC by comment:6
resolution: | → fixed |
---|---|
status: | reopened → closed |
Verified as working in jQuery 1.4.2. Closing ticket for now. Please feel free to re-submit or re-open your ticket if this issue persists.
Changed January 18, 2011 07:34PM UTC by comment:7
I am seeing this bug in IE8 using 1.4.3
Changed January 18, 2011 09:46PM UTC by comment:8
_comment0: | Tested against IE 6-8 with latest jquery build an bug is no longer present. WHOOHOO!!! → 1295387198803215 |
---|
Tested against IE 6-8 with latest jquery build and bug is no longer present. WHOOHOO!!!
Changed September 07, 2011 07:09AM UTC by comment:9
change event not fired in Ie 9 for input type text jquery version 1.4.4
Changed April 03, 2012 06:42PM UTC by comment:10
change event issue still present in IE8 with build 1.7.1
Thanks for narrowing it down! It seems like this commit would be the culprit:
http://github.com/jquery/jquery/commit/435772e29b4ac4ccfdefbc4045d43f714e153381