Side navigation
#6586 closed bug (duplicate)
Opened May 19, 2010 10:10PM UTC
Closed May 22, 2010 02:56PM UTC
Last modified March 13, 2012 08:30PM UTC
JQuery 1.4.2 + IE + $.ajax
Reported by: | scottchiefbaker | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | ajax | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have created a test case for a reproducible $.ajax bug with IE and JQuery 1.4.2. See the test case below for more information. I have confirmed this bug is present in IE7 and IE8.
Verified in IE7 (did not test IE8).
The problem seems to be related to a change in behavior with respect to the xhr method used in IE. Previously, the ActiveX Object was used whenever possible. In 1.4, the behavior is to use XMLHttpRequest except for local files.
jQuery 1.3:
jQuery 1.4.2:
By passing a function with the old behavior to the ajax setting "xhr", we can effectively force the old behavior and the problem goes away: