Skip to content

Instantly share code, notes, and snippets.

@toranb
Created November 11, 2012 18:13
Show Gist options
  • Save toranb/4055760 to your computer and use it in GitHub Desktop.
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
$.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