Possible Duplicate:
Cannot set boolean values in LocalStorage?
So i've been trying to get localStorage.test to store a boolean forever...
http://jsfiddle.net/abhi/aVmyt/
And it always ends up storing as a string.
Play around with the various localStorage variables created in the fiddle by changing the condition used in the if statement, and do lemme know if you manage to store a boolean...
The W3C Storage interface specifies that values (and keys) are strings: