Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Check Boxs not working with local stoage

Hi Peter,

What exactly is not working? An array is saved in localStorage, you can read it and process as you need on the second page.

Peter Abbruzzese
Posts: 0
Joined: Tue Jul 01, 2014 3:27 pm

Check Boxs not working with local stoage

When I select 1 check box it saves all of the check boxes into local storage and displays them onto the other page. I just want the ones i selected to show on the 2nd page.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Check Boxs not working with local stoage

Hi Peter,

Add the following code on the second page to add all the array in a line to a label named labelName:prevar s = localStorage.getItem("arr");
Apperyio("labelName").text(s.replace(/,/gi,",\n"));/pre

Return to “Issues”