Skip to content Skip to sidebar Skip to footer

How To Create Cross Domain Xmlhttprequests In Internet Explorer

My code looks like this, which is recommended for IE to work, but it only works in Chrome and FF. Is there a correct way to access a url from another domain. Furthermore, the domai

Solution 1:

IE does not suppoort cross domain requests in this way but does have a way using the XDomainRequest object instead, see http://msdn.microsoft.com/en-us/library/cc288060(v=vs.85).aspx

It works in much the same way though, and yes it's a pain there are two ways to do it in different browsers

Post a Comment for "How To Create Cross Domain Xmlhttprequests In Internet Explorer"