{"id":1226,"date":"2012-02-07T22:03:32","date_gmt":"2012-02-07T13:03:32","guid":{"rendered":"http:\/\/nanoappli.com\/blog\/?p=1226"},"modified":"2012-02-07T22:04:23","modified_gmt":"2012-02-07T13:04:23","slug":"jquery%e4%b8%80%e5%ba%a6%e7%99%ba%e8%a1%8c%e3%81%97%e3%81%9fajax%e3%83%aa%e3%82%af%e3%82%a8%e3%82%b9%e3%83%88%e3%82%92%e9%80%94%e4%b8%ad%e3%81%a7%e4%b8%ad%e6%96%ad%e3%81%99%e3%82%8b%e6%96%b9","status":"publish","type":"post","link":"http:\/\/nanoappli.com\/blog\/archives\/1226","title":{"rendered":"[jQuery]\u4e00\u5ea6\u767a\u884c\u3057\u305fajax\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9014\u4e2d\u3067\u4e2d\u65ad\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\njQuery\u3067\u30b5\u30fc\u30d0\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u969b\u3001ajax\u3067\u554f\u5408\u305b\u3092\u884c\u3046\u3068\u975e\u540c\u671f\u51e6\u7406\u3068\u306a\u308b\u70ba\u3001\u30e6\u30fc\u30b6\u30d3\u30ea\u30c6\u30a3\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002<br \/>\n\u3067\u3059\u304c\u3001\u30c7\u30fc\u30bf\u306e\u554f\u3044\u5408\u308f\u305b\u306b\u3088\u3063\u3066\u306f\u3001\u30b5\u30fc\u30d0\u5074\u3067\u975e\u5e38\u306b\u6642\u9593\u304c\u639b\u304b\u308b\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<br \/>\n\u3053\u306e\u969b\u306b\u4e00\u65e6\u884c\u3063\u305f\u554f\u3044\u5408\u308f\u305b\u3092\u30ad\u30e3\u30f3\u30bb\u30eb\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u3046\u3057\u305f\u3089\u3088\u3044\u3067\u3057\u3087\u3046\u304b?<br \/>\n<br \/>\n<br \/>\n\u4e00\u65e6\u884c\u3063\u305f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30ad\u30e3\u30f3\u30bb\u30eb\u3059\u308b\u5834\u5408\u306f\u3001$.ajax()\u3067\u53d6\u5f97\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5bfe\u3057\u3066\u3001abort()\u3092\u30b3\u30fc\u30eb\u3059\u308b\u3068\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30ad\u30e3\u30f3\u30bb\u30eb\u304c\u53ef\u80fd\u3067\u3059\u3002<br \/>\n<br \/>\n<br \/>\n\u30b5\u30f3\u30d7\u30eb\uff1a<br \/>\n<pre lang=\"javascript\">\nvar req;\n\n\/\/ \u691c\u7d22\u3092\u884c\u3046\n$( \"btnSearch\" ).click( function() {\n\treq = $.ajax({\n\t    type: \"GET\",\n\t    url:  \"\/test\/getData.php\",\n\t    data: \"id=1\",\n\t    success: function( name){\n\t\t\t       alert( \"\u691c\u7d22\u304c\u5b8c\u4e86\u3057\u307e\u3057\u305f:\" + name );\n\t\t\t    }\n\t});\n});\n\n\/\/ \u691c\u7d22\u3092\u4e2d\u65ad\u3059\u308b\n$( \"btnStop\" ).click( function() {\n\t\/\/\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u4e2d\u65ad\n\treq.abort();\n\talert( \"\u691c\u7d22\u3092\u4e2d\u65ad\u3057\u307e\u3057\u305f\" );\n});\n<\/pre>\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>jQuery\u3067\u30b5\u30fc\u30d0\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u969b\u3001ajax\u3067\u554f\u5408\u305b\u3092\u884c\u3046\u3068\u975e\u540c\u671f\u51e6\u7406\u3068\u306a\u308b\u70ba\u3001\u30e6\u30fc\u30b6\u30d3\u30ea\u30c6\u30a3\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002 \u3067\u3059\u304c\u3001\u30c7\u30fc\u30bf\u306e\u554f\u3044\u5408\u308f\u305b\u306b\u3088\u3063\u3066\u306f\u3001\u30b5\u30fc\u30d0\u5074\u3067\u975e\u5e38\u306b\u6642\u9593\u304c\u639b\u304b\u308b\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002 \u3053\u306e\u969b\u306b\u4e00\u65e6\u884c\u3063\u305f\u554f\u3044\u5408\u308f\u305b\u3092\u30ad\u30e3\u30f3\u30bb\u30eb\u3059\u308b\u5834\u5408\u306f\u3001\u3069\u3046\u3057\u305f\u3089\u3088\u3044\u3067\u3057\u3087\u3046\u304b? \u4e00\u65e6\u884c\u3063\u305f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30ad\u30e3\u30f3\u30bb\u30eb\u3059\u308b\u5834\u5408\u306f\u3001$.ajax()\u3067\u53d6\u5f97\u3057\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5bfe\u3057\u3066\u3001abort()\u3092\u30b3\u30fc\u30eb\u3059\u308b\u3068\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30ad\u30e3\u30f3\u30bb\u30eb\u304c\u53ef\u80fd\u3067\u3059\u3002 \u30b5\u30f3\u30d7\u30eb\uff1a var req; \/\/ \u691c\u7d22\u3092\u884c\u3046 $( &#8220;btnSearch&#8221; ).click( function() { req = $.ajax({ type:\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[18],"tags":[14],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1967,"url":"http:\/\/nanoappli.com\/blog\/archives\/1967","url_meta":{"origin":1226,"position":0},"title":"AmazonMWS\u3067\u6ce8\u6587\u3055\u308c\u305f\u5546\u54c1\u306e\u30b3\u30f3\u30c7\u30a3\u30b7\u30e7\u30f3\u30fb\u30b3\u30e1\u30f3\u30c8\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5","date":"2012\u5e743\u670828\u65e5","format":false,"excerpt":"\u672c\u8a18\u4e8b\u3067\u306f\u3001Amazon\u306e\u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30fc\u30b9\u5927\u53e3\u51fa\u54c1\u8005\u304c\u5229\u7528\u3067\u304d\u308bMarketplace\u3000WebSe\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4631,"url":"http:\/\/nanoappli.com\/blog\/archives\/4631","url_meta":{"origin":1226,"position":1},"title":"[Amazon MWS]GetLowestOfferListingsForASIN\u30aa\u30da\u30ec\u30fc\u30b7\u30e7\u30f3\u306eFAQ","date":"2012\u5e749\u670822\u65e5","format":false,"excerpt":"Amazon MWS\u306e\u3001\u5546\u54c1API\u30bb\u30af\u30b7\u30e7\u30f3\u3068\u3057\u3066\u7528\u610f\u3055\u308c\u3066\u3044\u308bGetLowestOfferList\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":787,"url":"http:\/\/nanoappli.com\/blog\/archives\/787","url_meta":{"origin":1226,"position":2},"title":"[YamaTrack]\u30e4\u30de\u30c8\u904b\u8f38\u306e\u8377\u7269\u554f\u5408\u305b\u30b5\u30a4\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f","date":"2012\u5e741\u670826\u65e5","format":false,"excerpt":"\u30e4\u30de\u30c8\u904b\u8f38\u30aa\u30d5\u30a3\u30b7\u30e3\u30eb\u306e\u8377\u7269\u72b6\u6cc1\u554f\u5408\u305b\u30da\u30fc\u30b8\u304c\u4e0d\u4fbf\u3060\u3063\u305f\u306e\u3067\u3001\u691c\u7d22\u30da\u30fc\u30b8\u3092\u81ea\u4f5c\u3057\u307e\u3057\u305f\u3002 URL: \u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/20120126_04.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":690,"url":"http:\/\/nanoappli.com\/blog\/archives\/690","url_meta":{"origin":1226,"position":3},"title":"dankogai\u4f5c\u306eAWS API\u304b\u3089JSON\u306e\u4ed5\u7d44\u307f\u3092\u7406\u89e3\u3059\u308b(2\/2)","date":"2012\u5e741\u670821\u65e5","format":false,"excerpt":"\u524d\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30b5\u30f3\u30d7\u30eb\u3068\u3057\u3066\u63d0\u793a\u3055\u308c\u3066\u3044\u308bJavaScript\u306e\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002 dankog\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/20120121_05.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2119,"url":"http:\/\/nanoappli.com\/blog\/archives\/2119","url_meta":{"origin":1226,"position":4},"title":"C#\u3067\u3001\u4f4f\u6240\u304b\u3089\u7def\u5ea6\uff65\u7d4c\u5ea6\u3092\u691c\u7d22\u3059\u308b(geocoding.jp\u5229\u7528)","date":"2012\u5e744\u670810\u65e5","format":false,"excerpt":"\u4f4f\u6240\u304b\u3089\u7c21\u5358\u306b\u7def\u5ea6\uff65\u7d4c\u5ea6\u3092\u691c\u7d22\u3057\u3066\u304f\u308c\u308bWebAPI\u3092\u3001geocoding.jp\u304c\u63d0\u4f9b\u3057\u3066\u304f\u308c\u3066\u3044\u308b\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2331,"url":"http:\/\/nanoappli.com\/blog\/archives\/2331","url_meta":{"origin":1226,"position":5},"title":"[C#]DataGridView\u304b\u3089,\u6307\u5b9a\u3057\u305f\u6761\u4ef6\u306b\u5408\u3046\u30c7\u30fc\u30bf\u3092LINQ\u3067\u53d6\u5f97\u3059\u308b","date":"2012\u5e744\u670830\u65e5","format":false,"excerpt":"DataGridView\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30c7\u30fc\u30bf\u304b\u3089,\u6307\u5b9a\u3057\u305f\u6761\u4ef6\u306b\u4e00\u81f4\u3059\u308b\u884c\u3092LINQ\u3092\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/1226"}],"collection":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/comments?post=1226"}],"version-history":[{"count":3,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/1226\/revisions"}],"predecessor-version":[{"id":1228,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/1226\/revisions\/1228"}],"wp:attachment":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/media?parent=1226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/categories?post=1226"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/tags?post=1226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}