2015-07-04から1日間の記事一覧

jQuery.ajaxでJSON形式の空のレスポンスはエラー扱いになる

この前ちょっとはまったのでメモ。まさしくこれ。 jQuery Core 1.9 Upgrade Guide | jQuery Prior to 1.9, an ajax call that expected a return data type of JSON or JSONP would consider a return value of an empty string to be a success case, but r…