Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Arrays of objects in localStorage to database

Hello,

You can find it in original post preIn localStorage, I have an array that looks something like this:

[{"name":"Some Name","value":"5"},{"name":"Another Name","value":"23"}, etc... /pre

Vikram Raju
Posts: 0
Joined: Mon Jul 20, 2015 4:06 am

Arrays of objects in localStorage to database

May I have the link please?

Jack Bua
Posts: 0
Joined: Sun Jun 28, 2015 10:16 pm

Arrays of objects in localStorage to database

to make arrays in JS:
http://www.w3schools.com/js/js_arrays...

To do so in local storage, first create a model with a type as Array, add the values, then make a storage and assign its type as whatever you named your array.

Vikram Raju
Posts: 0
Joined: Mon Jul 20, 2015 4:06 am

Arrays of objects in localStorage to database

@jack Bua : ok thanks for your reply.

Return to “Issues”