Having a list as so:
var names_Array = [];
var names_List = new WinJS.Binding.List(names_Array);
I push into the list the following:
names_List.push({ name: "Joe Dowling", image: "image/Joe Dowling.png", ClientID: "1234" });
names_List.push({ name: "Esteban Flamenco ", image: "image/Esteban Flamenco.png", ClientID: "6666" });
I then set the list in local storage, as such:
window.localStorage.setItem('names_List', names_List);
Finally I get the item as such:
var test = window.localStorage.getItem('names_List');
console.log(test);
I want to be able to print elements of the list in the console. Can anyone guide me on this. I've tried using the names_List.getAt(index) method but to no avail.