jQuery.ajax()ã®JSONãJSONPåå¾ã§ã200 OKã«ããããããã¨ã©ã¼ã«ãªã件ã«ã¤ãã¦ã¾ã¨ãã¾ããã ï¼ï¼åé¡ç¹ 次ã®ãããªJSONãã¼ã¿ãèªã¿è¾¼ãã¹ã¯ãªãããæ¸ãã¾ããã JSONãã¼ã¿ {'foo':'bar'} ã¹ã¯ãªãã <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> <script> $(function(){ $.ajax({ url: "sample.json", dataType: 'json', }) .done(function(data) { console.log("OK"); }) .fail(function(xhr, textStatus, errorThrown) { console.log("NG:" + xh
{{#tags}}- {{label}}
{{/tags}}