This is my code. I am trying since a couple of days to create an Array of Objects, which I will then store in Local Storage. Here is the problem, I need to first Get the existin
Try something like this:- link https://jsfiddle.net/sureshraina/nLexkyfw/1/
var mydatas = new Array(); mydatas[0] = "data"; mydatas[1] = "data1"; mydatas[2] = "data2"; localStorage["mydatas"] = JSON.stringify(mydatas); var datas = JSON.parse(localStorage["mydatas"]);