What is "localstorage"
Localstorage is a form of persistent data storage using Javascript. It should only be used with an HTML5-compatible web browser. Only plain text values can be stored. Arrays and objects, for example, can be stored using JSON.stringify(valor)
. Then, to get the original value when reading the value, use JSON.parse(valor)
.
Related Links: