Created
November 27, 2017 14:10
-
-
Save seogi1004/bccbf92878ecf82a374092dc45f8faf5 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
onload=function() { | |
var name; | |
$.getJSON("test.json", "", function(res) { | |
name = res.name; | |
}); | |
alert(name); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment