Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var dbParam = JSON.stringify(data);
- console.log(dbParam);
- var obj, dbParam, xxmlhttp;
- xxmlhttp = new XMLHttpRequest();
- xxmlhttp.onreadystatechange = function () {
- if (this.readyState == 4 && this.status == 200) {
- // document.getElementById("demo").innerHTML = this.responseText;
- }
- };
- xxmlhttp.open("GET", "http://localhost/trackpage/dummy-data/saveDB.php?x=" + dbParam, true);
- xxmlhttp.send();
- console.log("send");
Add Comment
Please, Sign In to add comment