ThatSnail

Untitled

Mar 31st, 2012
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. xmlhttp.onreadystatechange=function()
  2. {
  3. if(xmlhttp.readyState==4)
  4. {
  5. alert(xmlhttp.responseText);
  6. document.getElementById("info").innerHTML=xmlhttp.responseText;
  7. }
  8. }
  9. xmlhttp.open("GET","game.php?q=0",true);
  10. xmlhttp.send(); //return grid
  11.  
  12.  
  13.  
  14. ------
  15.  
  16.  
  17.  
  18. <?php
  19. echo "HI";
  20.  
  21. ?>
Advertisement
Add Comment
Please, Sign In to add comment