Reputation:
I'm experimenting with localstorage, and I have the following snippet, and I wonder why it won't do anything.
var tuotteita = localStorage.getItem("simpleCart_items");
if(tuotteita != NULL){
alert(tuotteita);
}
It looks fine to me?
Upvotes: 0
Views: 62