showing results for - "send json in javascript"
Linus
09 Mar 2019
1var myObj = { "name":"Jane", "age":18, "city":"Chicago" };  // create object
2var myJSON = JSON.stringify(myObj);                         // stringify
3window.location = "demo.php?x=" + myJSON;                   // send to php
4