Christian7402253
Posts: 0
Joined: Wed Feb 25, 2015 8:13 pm

Localstorage variable: undefined

please help me, I'm using the localstorage variable to hold value but it doesn't get updated.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Localstorage variable: undefined

Hello Christian,

Could you please share print screen of your mapping?

Christian7402253
Posts: 0
Joined: Wed Feb 25, 2015 8:13 pm

Localstorage variable: undefined

Image

here you go

Christian7402253
Posts: 0
Joined: Wed Feb 25, 2015 8:13 pm

Localstorage variable: undefined

and that's not all, my localstorage doesn't update as it should :(

Christian7402253
Posts: 0
Joined: Wed Feb 25, 2015 8:13 pm

Localstorage variable: undefined

My app Goes like this, I select an event and enter a code Image
If the code is right, it will transfer me to the next page
Image
My problem is:

  1. the leave button is not working, its set to navigate to the first screen.
  2. My app gets the previous value of my localstorage variable. not the updated one :(
Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Localstorage variable: undefined

Christian,

I don't see how your local storage is using in mapping. Do you use it in any JS code? Please show print screen with that code, if you use

Christian7402253
Posts: 0
Joined: Wed Feb 25, 2015 8:13 pm

Localstorage variable: undefined

Not really. I've read some articles about a browser not able to fire the data instantly when you replace the value of the key.. its described here
a href="http:/eintohtml5.info/storage.html" rel="nofollow"http:/eintohtml5.info/storage.html/a
The part "TRACKING CHANGES TO THE HTML5 STORAGE AREA"
I don't know where to put and how to use the code.. can you tell me where?

Christian7402253
Posts: 0
Joined: Wed Feb 25, 2015 8:13 pm

Localstorage variable: undefined

http://stackoverflow.com/questions/27...
This article may also prove useful.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Localstorage variable: undefined

Hi Christian -

Show us how you are updating your localStorage variables in your app at this point?

You can use as well our Storage API which is an a HTML5 localStorage in our wrapper.

Christian7402253
Posts: 0
Joined: Wed Feb 25, 2015 8:13 pm

Localstorage variable: undefined

Hi Illya
Well, now I can't set the label text from my local storage variable. It doesn't appear :( . I looked at the Storage API you linked, is that different from the Local storage variable?

Return to “Issues”