How to make a XMLHTTPRequest ?
By two ways one For Internet Explorer and second one with other broswers Syntax for this is var httpRequest; if(window.XMLHttpRequest) { httpRequest = new XMLHttpRequest(); } else if (window.ActiveXObject) { // IE httpRequest = new ActiveXObject(’Microsoft.XMLHTTP’); }
.