Hello,
I would like to read data from localstorage within a loop. Meaning is to feel a dictionary with localstorage value. Dictionary keys and localstorage key have same name.
Problem, the first loop is working fine, but on the second loop, impossible to get the localstorage item, the get item does not work, it keeps loading first dictionary.currentKey
My algorithm is
On the second loop, the get localstorage keep the first loop value, it looks like the get item does not load a second time.
But dictionary has right values, localstorage too and I have data in localstorage.
Any clue on how to loop through localstorage keys ?
Thank you.