{"id":261,"date":"2012-12-19T17:43:07","date_gmt":"2012-12-19T08:43:07","guid":{"rendered":"http:\/\/clouds.tokyo\/blog\/?p=261"},"modified":"2017-02-28T17:46:37","modified_gmt":"2017-02-28T08:46:37","slug":"jquery_formdata","status":"publish","type":"post","link":"https:\/\/clouds.tokyo\/blog\/jquery_formdata\/","title":{"rendered":"\u3010jQuery\u3011Ajax\u95a2\u6570\u306b\u6e21\u3059\u305f\u3081\u306e\u30d5\u30a9\u30fc\u30e0\u30c7\u30fc\u30bf\u3092\u53d6\u5f97"},"content":{"rendered":"<p>Ajax\u95a2\u6570\u306b\u6e21\u3059\u305f\u3081\u306e\u30d5\u30a9\u30fc\u30e0\u306e\u5024\u3092\u4e00\u62ec\u3067\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<pre>\r\nvar form1 = new FormData($('#\u30d5\u30a9\u30fc\u30e0\u306eID').get()[0]);\r\n<\/pre>\n<p>\u3053\u308c\u3092$.ajax\u95a2\u6570\u306edata\u306b\u305d\u306e\u307e\u307e\u6e21\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ajax\u95a2\u6570\u306b\u6e21\u3059\u305f\u3081\u306e\u30d5\u30a9\u30fc\u30e0\u306e\u5024\u3092\u4e00\u62ec\u3067\u53d6\u5f97\u3057\u307e\u3059\u3002 var form1 = new FormData($(&#8216;#\u30d5\u30a9\u30fc\u30e0\u306eID&#8217;).get()[0]); \u3053\u308c\u3092$.ajax\u95a2\u6570\u306edata\u306b\u305d\u306e\u307e\u307e\u6e21\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":""},"categories":[2],"tags":[93,100,101],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pezW3u-4d","jetpack-related-posts":[{"id":670,"url":"https:\/\/clouds.tokyo\/blog\/jquery_ajax_abort\/","url_meta":{"origin":261,"position":0},"title":"\u3010jQuery\u3011Ajax\u306e\u975e\u540c\u671f\u901a\u4fe1\u3092\u4e2d\u65ad\u3059\u308b","author":"yamamoto","date":"2017\u5e744\u670817\u65e5","format":false,"excerpt":"jQuery\u306e$.ajax\u95a2\u6570\u3067 async: true \u306b\u3057\u3066\u975e\u540c\u671f\u901a\u4fe1\u3092\u884c\u3046\u3068\u304d\u306b\u3001\u901a\u4fe1\u3092\u4e2d\u65ad\u3059\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":608,"url":"https:\/\/clouds.tokyo\/blog\/js_upload\/","url_meta":{"origin":261,"position":1},"title":"\u3010JavaScript\u3011\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3067\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u306e\u4e00\u62ec\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9","author":"yamamoto","date":"2017\u5e744\u67086\u65e5","format":false,"excerpt":"\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3067\u4e00\u6c17\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u30da\u30fc\u30b8\u3001 \u5b9f\u306f\u3051\u3063\u3053\u3046\u7c21\u5358\u306b\u4f5c\u308c\u307e\u3059\u3002Aj\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":537,"url":"https:\/\/clouds.tokyo\/blog\/ajax_xdomain\/","url_meta":{"origin":261,"position":2},"title":"\u3010Ajax\u3011\u30af\u30ed\u30b9\u30c9\u30e1\u30a4\u30f3\u3067\u975e\u540c\u671f\u901a\u4fe1\u3092\u884c\u3046","author":"yamamoto","date":"2013\u5e747\u670827\u65e5","format":false,"excerpt":"\u30af\u30ed\u30b9\u30c9\u30e1\u30a4\u30f3\u3067\u975e\u540c\u671f\u901a\u4fe1\u3092\u884c\u3046\u65b9\u6cd5\u306e\u4e00\u3064\u306b\u3001 \u300cAccess-Control-Allow-Orig\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":714,"url":"https:\/\/clouds.tokyo\/blog\/ajax_cors\/","url_meta":{"origin":261,"position":3},"title":"\u3010Ajax\u3011\u901a\u4fe1\u30e1\u30bd\u30c3\u30c9\u304c\u52dd\u624b\u306bOPTIONS\u306b\u306a\u3063\u305f\u3089","author":"yamamoto","date":"2017\u5e745\u67082\u65e5","format":false,"excerpt":"\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6761\u4ef6\u3067Ajax\u901a\u4fe1\u3092\u884c\u3046\u3068\u3001\u30d6\u30e9\u30a6\u30b6\u306f\u81ea\u52d5\u7684\u306b\u300c\u30d7\u30ea\u30d5\u30e9\u30a4\u30c8\u300d\u3068\u547c\u3070\u308c\u308b\u901a\u4fe1\u30c1\u30a7\u30c3\u30af\u3092\u884c\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":534,"url":"https:\/\/clouds.tokyo\/blog\/jquery_load_scr\/","url_meta":{"origin":261,"position":4},"title":"\u3010jQuery\u3011jQuery\u3092\u4f7f\u3063\u305fJavaScript\u306e\u52d5\u7684\u8aad\u8fbc\u307f","author":"yamamoto","date":"2011\u5e744\u670819\u65e5","format":false,"excerpt":"\u304b\u3064\u3066JavaScript\u306e\u52d5\u7684\u8aad\u8fbc\u307f\u95a2\u6570\u3092\u81ea\u4f5c\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001 jQuery\u3092\u4f7f\u3048\u3070\u3068\u3066\u3082\u7c21\u5358\u306b\u3067\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":673,"url":"https:\/\/clouds.tokyo\/blog\/jquery_onchange\/","url_meta":{"origin":261,"position":5},"title":"\u3010jQuery\u3011val()\u3001prop()\u3067\u5024\u3092\u5909\u66f4\u3057\u305f\u969b\u306bonchange\u30a4\u30d9\u30f3\u30c8\u3092\u767a\u706b\u3055\u305b\u308b","author":"yamamoto","date":"2017\u5e744\u670818\u65e5","format":false,"excerpt":"jQuery\u3067\u30d5\u30a9\u30fc\u30e0\u306e\u5024\u3092\u5909\u66f4\u3057\u305f\u969b\u306b\u3001\u5358\u306b $(\u30d5\u30a9\u30fc\u30e0).val(\u5024); $(\u30d5\u30a9\u30fc\u30e0).pr\u2026","rel":"","context":"\u5099\u5fd8\u9332","block_context":{"text":"\u5099\u5fd8\u9332","link":"https:\/\/clouds.tokyo\/blog\/category\/memo\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/261"}],"collection":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/comments?post=261"}],"version-history":[{"count":1,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/261\/revisions"}],"predecessor-version":[{"id":262,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/posts\/261\/revisions\/262"}],"wp:attachment":[{"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/media?parent=261"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/categories?post=261"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clouds.tokyo\/blog\/wp-json\/wp\/v2\/tags?post=261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}