Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to save data in javascript

// object we want to save
var myObject = { name: "simon", surname: "goellner" };  
// convert to json string
var myJSON = JSON.stringify( myObject );
Source by simey.me #
 
PREVIOUS NEXT
Tagged: #save #data #javascript
ADD COMMENT
Topic
Name
8+1 =