Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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); };
Advertisement
Add Comment
Please, Sign In to add comment