Guest User

Untitled

a guest
May 23rd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. var dbParam = JSON.stringify(data);
  2. console.log(dbParam);
  3. var obj, dbParam, xxmlhttp;
  4. xxmlhttp = new XMLHttpRequest();
  5. xxmlhttp.onreadystatechange = function () {
  6. if (this.readyState == 4 && this.status == 200) {
  7. // document.getElementById("demo").innerHTML = this.responseText;
  8. }
  9. };
  10. xxmlhttp.open("GET", "http://localhost/trackpage/dummy-data/saveDB.php?x=" + dbParam, true);
  11. xxmlhttp.send();
  12. console.log("send");
Add Comment
Please, Sign In to add comment