ajax requestへのresponseがステータス200なのに、persererrorでerror/failとなってしまったら
ajaxのdataTypeと実際のdataTypeが一致しているか確認する。
応答がない場合は、dataTypeは不要。
$.ajax({ url: "hoge.php", // リクエスト送信先URL type: "POST", data: {hoge:"hoge"} dataType: 'json' })
ajaxのdataTypeと実際のdataTypeが一致しているか確認する。
応答がない場合は、dataTypeは不要。
$.ajax({ url: "hoge.php", // リクエスト送信先URL type: "POST", data: {hoge:"hoge"} dataType: 'json' })