Hi
I Saved items in Array then saved the array on local storage, how can i retrieve special element or group of elements from local storage??
Hi
I Saved items in Array then saved the array on local storage, how can i retrieve special element or group of elements from local storage??
Hello,
The arrays in JavaScript has several methods for working with elements.
If you are saving objects array in localStorage, you'll need to convert values to a string:
pre
JSON.parse();
JSON.stringify();
/pre
If you are looking for a associative array - hope this article will help you.
Thanks Illya, i'll try them on my array.