I'm having a problem that is driving me crazy and I can't figure out what's wrong. Here's the scenario... A web service is called on page load where the results of the web service are mapped to local storage variables. I even mapped one result to both a label and the local storage variable to show that the result is coming back fine.
The label updates with the proper value, but when I execute the following javascript to pull the local storage value, it's always null:
var bg_url = localStorage.getItem('background_url');
alert ('background url is ', bg_url);
What's going on? The local storage variable is named background_url. I can check using Firebug that it's set and has a value. But the javascript above is not retrieving the value of the local storage variable. I've been using Tiggzi for many months and use this all the time in other projects, but it's not working anymore for me. Let me know what's wrong.
I've shared the project named AndroidHello_tmp with a href="mailto:support@Tiggzi.com" rel="nofollow"support@Tiggzi.com/a. Your help is greatly appreciated.
Thanks!