XMLHTTPREQUEST RESTETYPE = "Documento" è supportato in Google Chrome?
-
30-10-2019 - |
Domanda
Informazioni su Posso usare Dice che Chrome supporta XMLHTTPREQUEST LIVEL 2.
ero solito Esempio da MDC Nella mia estensione Chrome:
var xhr = new XMLHttpRequest();
xhr.onload = function() {
alert(this.responseXML.title);
}
xhr.open("GET", url);
xhr.responseType = "document";
xhr.send();
Tuttavia, xhr.response
e xhr.responseXML
sono entrambi null
in onload
(Lo stato è 200 OK
).
Questo è supportato in Chrome e dove le persone cercano effettivamente di scoprire se lo è?
Nessuna soluzione corretta
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow