Ticket #8958 (closed bug: invalid)
Ajax request across domain bug for IE since jQuery 1.5
| Reported by: | Johnny | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.next |
| Component: | unfiled | Version: | 1.5 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
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:2 follow-up: ↓ 3 Changed 2 years ago by jaubourg
- Status changed from new to closed
- Resolution set to invalid
Until we have a clear view of what's going on, I'll close this as invalid seeing as I don't think jQuery has anything to do with the server not being reachable.
comment:3 in reply to: ↑ 2 Changed 2 years ago by anonymous
Why close my thread? I haven't problem to reach the server! Some guy just comment nonsense on my post! Please help solve my question
Replying to jaubourg:
Until we have a clear view of what's going on, I'll close this as invalid seeing as I don't think jQuery has anything to do with the server not being reachable.
comment:4 in reply to: ↑ 1 Changed 2 years ago by anonymous
You'd better creater your own ticket rather than comment on my post, your problem are totally different from mine. Cross domain dosn't mean server cannot be reached..
Replying to sales@…:
I found this page via google, as I am having problems accessing https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.js "could not connect to server"
i am not programming, just trying to access something on a website that never fully loads.
i am on a mac and this happens on safari, firefox, and chrome. i feel like it started when i updated my OS and/or java, but i cannot install an older version of java. but if other people are having problems maybe it is not my computer?
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

I found this page via google, as I am having problems accessing https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.js "could not connect to server"
i am not programming, just trying to access something on a website that never fully loads.
i am on a mac and this happens on safari, firefox, and chrome. i feel like it started when i updated my OS and/or java, but i cannot install an older version of java. but if other people are having problems maybe it is not my computer?