Created
June 15, 2017 18:59
-
-
Save Filarius/e900e309cb2c0beb2ab59f04246c8d0c to your computer and use it in GitHub Desktop.
Javascript load JSON from another domain
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
//jquery | |
$.getJSON( "http://domain/path?jsonp=?&callback=?", function(data) { | |
console.log(JSON.stringify(data)); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment