Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function tampilJSON() {
- var xhttp = new XMLHttpRequest();
- xhttp.onreadystatechange = function() {
- if (this.readyState == 4 && this.status == 200) {
- console.log(this.responseText);
- }
- };
- xhttp.open("GET","http://localhost/folderanu/fileanu.php", true);
- xhttp.send();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement