Not a problem, just a precision :
The "responseText" will be available on the "this" in the event callback only, and no more in the event.target itself (like it is in classic XHR).
I guess you should note it in the doc.
Thank about that plugin BTW !
xhr.addEventListener("loadend", function(evt) {
//var data = evt.target.responseText; //<-- this will not work with the plugin
var data = this.responseText; //<-- this works
document.getElementById("myregion").innerHTML = data;
});
Not a problem, just a precision : The "responseText" will be available on the "this" in the event callback only, and no more in the event.target itself (like it is in classic XHR).
I guess you should note it in the doc. Thank about that plugin BTW !