SHARE
TWEET

Proyek Web Untuk Windows 1

stevennathaniel Nov 25th, 2018 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function tampilJSON() {
  2.  
  3.     var xhttp = new XMLHttpRequest();
  4.  
  5.     xhttp.onreadystatechange = function() {
  6.  
  7.         if (this.readyState == 4 && this.status == 200) {
  8.  
  9.             document.getElementById("demo").innerHTML = this.responseText;
  10.  
  11.         }
  12.  
  13.     };
  14.  
  15.     xhttp.open("GET","http://localhost/folderanu/fileanu.php", true);
  16.  
  17.     xhttp.send();
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top