What version will be chosen by MSXML2.XMLHTTP request, without version suffix? [migrated]
- by jayarjo
Probably every web developer is familiar with a pattern like this:
var xmlHttp = null;
if (window.XMLHttpRequest) {
// If IE7, Mozilla, Safari, and so on: Use native object.
xmlHttp = new XMLHttpRequest();
}
else
{
if (window.ActiveXObject) {
// ...otherwise, use the ActiveX control for IE5.x and IE6.
xmlHttp = new…