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 Quote 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=[]. Quote Link to comment https://forums.phpfreaks.com/topic/249876-dynamic-arrays/#findComment-1282545 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.