Skip to main content

Bug Tracker

Side navigation

#8958 closed bug (invalid)

Opened April 25, 2011 12:02AM UTC

Closed April 25, 2011 04:24PM UTC

Last modified March 14, 2012 05:32AM UTC

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:
Blocked by: Blocking:
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));

}

});

Attachments (0)
Change History (4)

Changed April 25, 2011 06:49AM UTC by sales@hippiehop.com comment:1

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?

Changed April 25, 2011 04:24PM UTC by jaubourg comment:2

resolution: → invalid
status: newclosed

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.

Changed April 25, 2011 04:41PM UTC by anonymous comment:3

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 [comment:2 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.

Changed April 25, 2011 04:46PM UTC by anonymous comment:4

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 [comment:1 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?