Search This Blog

Saturday, April 25, 2020

How to Store an Array in LocalStorage - [SOLVED]

localStorage only supports strings. Use JSON.stringify() and JSON.parse().

place array inside onDeviceReady and asign the json array to localStorage

On Page parse values stored in localStorage array into another json array for implimentation


No comments:

Post a Comment

content-wide advt