jQueryでAjaxリクエストのために未定義のエラーがあります。しかし、それはローカルで動作します。 3633ラインjQuery XMLHttpRequestエラー
xhr.send(s.data);
私のコード@ jquery1.3.2.jsに参照エラーは以下のとおりです。コード内
$.ajax({
type: "POST",
url: 'index.php',
data: "action=showpath&type=images&path=&default=1",
cache: false,
dataType: "html",
success: function(data){
$('#addr').html(data);
},
error:function (xhr, ajaxOptions, thrownError){
alert(xhr.status);
alert(thrownError);
}
});
アラートが(0、 '未定義')私を示しています。
私は間違っていますか?
私はそれをファイアバグでテストしました。誤った返答が表示されますが、自分のステータスは200です - OKです。 Ajaxリクエストは説明なしでajaxErrorを返します。 –
私は同じ問題の説明を見つけました http://www.mail-archive.com/[email protected]/msg65106.html しかし解決策はまだありません。 –