0
我正在通過控制檯上的http://TheScoutApp.com第3行運行此代碼我收到DOM異常11!DOM異常11
var xhr2 = new XMLHttpRequest();
xhr2.onreadystatechange = function() {
console.error(xhr2.statusText); //DOM exception 11!!!
if (xhr2.readyState === 4 && xhr2.status === 200) {
console.error('xhr2');
}
}
xhr2.open("GET","http://thescoutapp.com/extension/update.xml",true);
xhr2.send();
你有什麼研究的錯誤意味着什麼?關於這個特定的錯誤還有幾個其他的問題。 –
我做了...所以我接受它我想不得不如果(1 && 2) –
在'onreadystatechange'之前放置'open' – epascarello