Local Storage - Dive Into HTML5 - 0 views
-
HTML5 Storage support IEFirefoxSafariChromeOperaiPhoneAndroid 8.0+3.5+4.0+4.0+10.5+2.0+2.0+
-
return 'localStorage' in window && window['localStorage'] !== null;
-
The data can be any type supported by JavaScript, including strings, Booleans, integers, or floats. However, the data is actually stored as a string. If you are storing and retrieving anything other than strings, you will need to use functions like parseInt() or parseFloat() to coerce your retrieved data into the expected JavaScript datatype.
- ...17 more annotations...