Created
November 11, 2012 18:13
-
-
Save toranb/4055760 to your computer and use it in GitHub Desktop.
true jsonp ajax to pull down json and do something with remote data
This file contains hidden or 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
$.ajax({ | |
url: url, | |
dataType: "jsonp", | |
crossDomain: true, | |
success: function (response) { | |
//do something with the json data | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment