Skip to content

Instantly share code, notes, and snippets.

@junpeitsuji
Last active December 23, 2015 14:29
Show Gist options
  • Save junpeitsuji/6649237 to your computer and use it in GitHub Desktop.
Save junpeitsuji/6649237 to your computer and use it in GitHub Desktop.
// 同じドメインの test.cgi から JSONデータを取得して表示
$.getJSON("test.cgi", function(data){
alert("key1:" + data.key1);
alert("key2:" + data.key2);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment