Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

json parse array local storage

var names = [];
names[0] = prompt("New member name?");
localStorage.setItem("names", JSON.stringify(names));

//...
var storedNames = JSON.parse(localStorage.getItem("names"));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #json #parse #array #local #storage
ADD COMMENT
Topic
Name
1+4 =