Created
March 11, 2016 03:02
-
-
Save smedstadc/ab0fc4990520bb262aed to your computer and use it in GitHub Desktop.
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
function logIt(it) { | |
console.log(it); | |
} | |
ajaxOptions = { | |
url: 'http://myrequest.com/?param1=true¶m2=false', | |
dataType: 'jsonp', | |
jsonpCallback: 'logIt' | |
} | |
response = $.ajax(ajaxOptions) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment