Ticket #8970 (closed bug: wontfix)
Ajax request across domain bug for IE since jQuery 1.5 (New)
| Reported by: | Johnny Xie <ardpx69@…> | Owned by: | jaubourg |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | ajax | Version: | 1.5 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
My ticket is set to invalid by accident, so I post it again. Please read the ticket content first rather than read the comments by other irrelavant people.
Hey, I am using .ajax() to retrieve or post data across domain. I don't want to use jsonp because the client browsers are all IE8 and I am able to enable 'Access data sources across domain' in IE options for every workstation. The really wield thing is when I use jQuery 1.4.x (1.4.1-1.4.4), the ajax request across domain works very well. However, when I try using jQuery 1.5/1.5.1/1.5.2, the ajax request is forbidden by IE. Please help solve the problem for me. Many thanks.
My ajax request is quite plain as follows, $.ajax({
type: 'get', url: url, dataType: 'json', success: function (msg) {
alert(JSON.stringify(msg));
}
});
Change History
comment:1 Changed 2 years ago by rwaldron
- Owner set to jaubourg
- Priority changed from undecided to low
- Status changed from new to assigned
- Component changed from unfiled to ajax
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

@jaubourg
It seems the last ticket was closed in error, I'm digging through old ajax module code to find some answers, but I think you're better suited to the task then I am.