Skip to content Skip to sidebar Skip to footer

How To Receive Xml In Ie8 With Mootools

I'm doing a web where I heavily use AJAX requests to a XML service. In fact, my web is a front-end with almost no server whatsoever and uses AJAX to communicate with the back-end.

Solution 1:

I had a similar issue like this sometime ago using jQuery. The problem was that, in IE, the incoming response data needed to be handled by the Microsoft.XMLDOM ActiveX object.

The general steps are to:

  1. Instantiate the ActiveX object.

    var oXmlDoc = new ActiveXObject("Microsoft.XMLDOM");

  2. Pass it the incoming response data and load it.

    oXmlDoc.loadXML(sXmlResponseData);

  3. Parse it as needed.

You can check out the full resolution here.

Post a Comment for "How To Receive Xml In Ie8 With Mootools"