Guest User

Untitled

a guest
May 7th, 2012
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. function fAsynchronousGet() {
  2. 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