jQuery에서 Ajax 요청으로 인해 정의되지 않은 오류가 발생했습니다. 하지만 로컬로 작동합니다. 3633 라인 @ jquery1.3.2.js에서 참조하는 오류jQuery XMLHttpRequest 오류
xhr.send(s.data);
내 코드는 다음과 같습니다 코드
$.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 그래도 해결책이 없습니다. –