as i can see you have storage with name "votedReturn".
In your case you have:
storage "liveEventArray" with type - array of "liveEvent" model(where you have "votedReturn" parameter )
So your code will not work(cause of you use "votedReturn" as storage name):
You need to access "Apperyio.storage.liveEventArray" storage instead.
Also it's not clear what you want to update in this storage. It's better to update with following way:
var liveEventArray = Apperyio.storage.liveEventArray.get();
//here you can alter your array in way you need. Like:
liveEventArray.votedReturn = "true";
Thank you for your patience with me... I think we're almost there! With the above code, I am able to change the value of votedReturn at array index 0 . How can I either
(1) get the index value and set it based on a variable
(2) change votedReturn where songID = clickedSong?
liveEventArray[ where songID = clickedSong <<< ].votedReturn = "true";
We're so close! How can I get the index value from the Local Array for the clicked item? The working code below is JS on the button in the displayed list:
var row = jQuery(this).closest("tr");
var thisSong = row.find('[name="id"]');
var thisSongID = thisSong.text();
I need to get the Local Array index value for this item, but have not yet been able to do so.