- function fAsynchronousGet() {
- var oXMLHttpRequest = new XMLHttpRequest; oXMLHttpRequest.open("GET", "http://localhost", true); oXMLHttpRequest.onreadystatechange = function(data) { if (this.readyState == XMLHttpRequest.DONE) { alert(data);} }; oXMLHttpRequest.send(null); };