未被捕的例外:[例外...... “组件返回失败代码: 0x80040111(NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.getAllResponseHeaders]” nsresult:“0x80040111 (NS_ERROR_NOT_AVAILABLE)“位置: “JS框架:: = 1299105704512" > HTTP://code.jquery.com/jquery-1.5.min.js = 1299105704512 :: anonymous :: line 16“data:no]
我重复的AJAX调用无法完全加载,它们只是加载和加载...... 这是来自ajax调用 - 3,包括每5秒重复一次吗? 如何解决?
修改 我使用此代码包含jQuery
<script src="http://code.jquery.com/jquery-1.5.min.js"></script>
以下是我的AJAX请求:
$.ajax({
type: "GET",
url: "subscribe1.php",
data: "feed="+feeded+"&user="+thisuserd ,
success: function(msged){
$("#csub").html(msged);
}
});
$(document).ready(function() {
setInterval("ajaxd()",5000);
});
function ajaxd() {
var thisuser = $("#thisusern").text();
$.ajax({
type: "GET",
url: "newstitle.php",
data: "user="+thisuser,
success: function(msg){
$("#edix").html(msg);
}
});
}
$.ajax({
type: "GET",
url: "newscontent.php",
data: "title="+titled+"×tamp="+timestampd,
success: function(msgd){
var splitups = msgd.split("|");
var titleds = splitups[0];
var content = splitups[1];
$("#whatsup").html(titleds);
$("#content").html(content);
}
});