-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jason Moon
committed
Oct 16, 2012
1 parent
6b01f51
commit 2d85f53
Showing
2 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Cross-Domain AJAX for IE8 | ||
|
||
Implements automatic *Cross Origin Resource Sharing* support using the `XDomainRequest` object for IE8 and IE9 when using the [ajax](http://api.jquery.com/jQuery.ajax/) function in jQuery 1.5+. | ||
> **CORS** requires the `Access-Control-Allow-Origin` header to be present in the AJAX response from the server. | ||
In order to use XDomainRequest in Internet Explorer, the request must be: | ||
- asynchronous | ||
- GET or POST | ||
- HTTP or HTTPS | ||
- same scheme as calling page | ||
|
||
Working example here: | ||
http://jsfiddle.net/MoonScript/Q7bVG/ |