Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

XML is not populating in IE11

$
0
0

Hi All,

We have a test tool(http) which gets xml and populates the field below it,

unfortunately this test tool is not working in IE11, but it works fine in IE8,

After some investigation i found that ActiveXObject will not work in IE11,

the following is the function in HTML code that gets the xml data,

function getSampleXML()
{
var host = "http://XXXXX/XXXX/"
var tmp = form_1.asptocall.value;
var xmlString = form_1.XMLPO.value;
var httpOb = new ActiveXObject("Msxml2.XMLHTTP");
if (tmp == "queryYYY.aspx") {
	httpOb.Open("GET",host+"queryYYYY.xml",false);
  	httpOb.send();
	form_1.XMLPO.value = httpOb.responseText;
}
return (true);
}

this link says ActiveXObject is not supported for IE11 https://msdn.microsoft.com/en-us/library/ie/7sw4ddf8(v=vs.94).aspx

Please let me know what object to use inorder to make it work in IE11,

Thanks,

Sarva.


Viewing all articles
Browse latest Browse all 3527

Trending Articles