#6586 closed bug (duplicate)
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.
Attachments (1)
Note: See
TracTickets for help on using
tickets.
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: