Skip to content

Instantly share code, notes, and snippets.

@taai
Last active December 30, 2015 00:09
Show Gist options
  • Save taai/7747966 to your computer and use it in GitHub Desktop.
Save taai/7747966 to your computer and use it in GitHub Desktop.
This enables IE9 to do a CORS (cross-domain) request. Place this right after jQuery script. I recommend to download this and save it locally. Library can found here: https://github.com/MoonScript/jQuery-ajaxTransport-XDomainRequest
<!--[if IE 9]>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-ajaxtransport-xdomainrequest/1.0.1/jquery.xdomainrequest.min.js"></script>
<![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment