我有一個簡單的jQuery AJAX功能可按:jQuery的設置超時錯誤
$.ajax({
type: "GET",
url: "json/" + address,
dataType: "json",
timeout: 1000,
data: "username=" + username + "&paging_limit=" + paging_limit,
success: function(json){alert("somthing")},
error: function(){alert("somthing else")}
});
我得到在Firefox以下錯誤(3.6)時,請求超時,
setting a property that has only a getter
[Break on this error] null}};try{var h=x.abort;x.abort=funct...return!a.status&&location.protocol===
唯一的解決方法是,不設置自定義「超時」設置。
有沒有人遇到過這個,我應該擔心,有沒有解決方法?
在此先感謝。
如果你可以用jQuery的非縮小版本來試試它,它會很酷。 – Pointy 2010-02-14 21:12:03
我們在這裏談論什麼版本的jQuery? – Pointy 2010-02-14 21:22:44