Posts Tagged ‘ActiveX’

jQuery/Ajax XMLHttpRequest() problem in Internet Explorer – “Object doesn’t support this property or method”

This is a common problem with Microsoft Internet Explorer browser (with ActiveX, actually) and it has been present forever. While calling and Ajax function

req = new XMLHttpRequest();

IE will say that Object doesn’t support this property or method. In Firefox and Google Chrome above code works with no issues, so all we have to do is implement an if statement, checking for our browser. If the browser is detected as Internet Explorer, we will load ActiveX instead of XMLHttpRequest.

Continue Reading