{"height":"190","published":"2012-09-19 23:14:07","categories":["javascript","jquery"],"image_url":null,"version":"1.0","description":"jQuery 1.5\u304b\u3089 Deferred Object \u304c\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3001AJAX\u306e\u30ec\u30b9\u30dd\u30f3\u30b9\u306f Deferred API \u3092\u901a\u3058\u3066\u53d7\u3051\u53d6\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u4f8b\u3048\u3070\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b $.post() \u306e\u7d50\u679c\u306f .done() \u3082\u3057\u304f\u306f .fail() \u3067\u53d7\u3051\u53d6\u308c\u307e\u3059\u3002 $.post('/reserve', {product: 'iPhone5'}).done(function () { console.info('iPhone5\u3092\u4e88\u7d04\u3057\u307e\u3059\u305f'); }).fail(function () { console.info('iPhone5\u3092\u4e88\u7d04\u3067\u304d\u306a\u304b\u3063\u305f\uff1e\uff1c'); }); \u3053\u308c\u306b\u3088\u308a\u3001\u8907\u6570\u306eA\u2026","author_url":"https://blog.hatena.ne.jp/int128/","author_name":"int128","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fint128.hatenablog.com%2Fentry%2F20120919%2F1348064047\" title=\"\u975e\u540c\u671f\u51e6\u7406\u306e\u76f4\u5217\u5b9f\u884c\u3092 Array.reduce() \u3067\u66f8\u3044\u3066\u307f\u308b - GeekFactory\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://int128.hatenablog.com/entry/20120919/1348064047","provider_url":"https://hatena.blog","title":"\u975e\u540c\u671f\u51e6\u7406\u306e\u76f4\u5217\u5b9f\u884c\u3092 Array.reduce() \u3067\u66f8\u3044\u3066\u307f\u308b","blog_title":"GeekFactory","blog_url":"https://int128.hatenablog.com/","width":"100%","provider_name":"Hatena Blog","type":"rich"}