Modify ↓
Ticket #6480 (closed bug: duplicate)
Create XHR object sometimes fails on IE7/8
| Reported by: | Mac_J | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.3 | |
| Component: | ajax | Version: | 1.4.2 |
| Keywords: | ajax XHR XMLHTTP XMLHttpRequest | Cc: | |
| Blocking: | Blocked by: |
Description
In some case, it dosn't work when you open web page at first. Must refresh the page.
I modified code at line 4952. It's work.
xhr: function() {
try {
return new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
return new ActiveXObject("Microsoft.XMLHTTP");
} catch (e2) {}
} if (!xmlHttp && typeof XMLHttpRequest != 'undefined')
return new XMLHttpRequest();
},
Change History
comment:2 Changed 3 years ago by Bradley
- Keywords ajax added
- Summary changed from JQUERY1.4.2 Create XHR Object BUG to jQuery 1.4.2 create XHR object sometimes fails on IE7/8
- Milestone changed from 1.4.2 to 1.4.3
Test case available at dup #6586
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

It appeared in IE8 that I just test.