cmb Posted October 26, 2011 Share Posted October 26, 2011 This is the code i came up with var t = []; t.push(innerHTML = TotalSeconds1); localStorage.setItem("assist_time", t); but it doesn't do what i want instead of it just updating the same spot in the array i want it to add on the new value to the end of the array Link to comment https://forums.phpfreaks.com/topic/249876-dynamic-arrays/ Share on other sites More sharing options...
requinix Posted October 26, 2011 Share Posted October 26, 2011 Then don't reset it with t=[]. Link to comment https://forums.phpfreaks.com/topic/249876-dynamic-arrays/#findComment-1282545 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.