View Full Version : XMLHttpRequest, Object doesn't support this property or method, IE8 Error

23 Jun 2014, 1:30 PM
I'm currently debugging IE issues on an application.

I'm getting an 'Object doesn't support this property or method' when I try to .addEventListener to my XMLHttpRequest object.

var xhr = new XMLHttpRequest();

xhr.addEventListener("load", function() {
me.fireEvent('saveComplete', this);
}, false);

It seems to me that in IE8 the addEventListener method isn't being recognized as a method for my xhr object.

Any ideas on how to fix or debug this issue further?


23 Jun 2014, 2:47 PM
Use Ext.Ajax.request instead.

23 Jun 2014, 4:21 PM
I'll check out Ext.Ajax.request

I updated to IE11 and it seemed to fix a lot of issues. Currently considering making this application IE11+ and it might just save me a lot of headaches.