jquery-localstorage
A simple, lightweight jQuery plugin for reading, writing and deleting html5 local storage
Installation
CDN
Just put this tag:
Download
Include script after the jQuery library (unless you are packaging scripts somehow else):
Usage
Save:
value = $;
Read:
value = $;
Read all (values.constructor is Storage):
values = $;
Initialization result:
result = $supportlocalStorage;
IO methods
Save:
io = $localStorage;value = io;
Read:
io = $localStorage;value = io;
Remove:
io = $localStorage;io;
Key:
io = $localStorage;iokey;