The XMLHttpRequest Instantiation with explanations
function getXMLHTTP() { var XMLHTTP = null; if (window.ActiveXObject) { try { //this legacy approach failed, try other object XMLHTTP = new ActiveXObject(“Msxml2.XMLHTTP”); } catch (e) { try { //ie implementation XMLHTTP = new ActiveXObject(“Microsoft.XMLHTTP”); } catch (e) { }… Read moreThe XMLHttpRequest Instantiation with explanations