Skip to content

Instantly share code, notes, and snippets.

@bradj
Created November 30, 2012 22:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradj/4179157 to your computer and use it in GitHub Desktop.
Save bradj/4179157 to your computer and use it in GitHub Desktop.
CC jsonp fyi
$.ajax({
url: that.config.mapserver + '?f=json',
dataType: 'jsonp',
}).done(function(evt, status) {
console.log(evt);
console.log(status);
}).error(function(evt) {
console.log(evt);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment