Hi,
I have created a local storage variable "text". I am setting its value to "PPPPPP" in a program deployed on local host. The same you can see on the browser console screen shot attached below. However, I am not able to get the value from the local storage variable. I am using the below code to get the value:
var mystatus = localStorage.getItem('text');
alert(mystatus);
Please suggest, if there are any different commands to get this done.