This method initializes a Microsoft.XMLHTTP request, and specifies the method, URL and authentication information for the request.
The values of the request headers, request body, response headers and response body must be cleared before calling this method. If the 'Async' parameter is set to true, attach an onreadystatechange callback so you can tell when the send call has completed.
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("POST", "http://guruserver/save.asp", false);
xmlhttp.send(xmldoc)
This example creates an HttpRequest object and uses the open method to synchronously open an ASP page. It then posts an XML document to that page, which in turn uses the loadXML method to load it.