Are there any good jquery plugins for using html 5 local storage?
Asked
Active
Viewed 9,676 times
20
-
1I think your question could be easily answered with a quick google search. – TheHippo Apr 21 '13 at 20:00
-
I think this is a valid question, as it invites recommendations and a chance for people to supply their experience with various plugins. – David Robbins Oct 02 '13 at 20:30
3 Answers
16
There's no need for plugins here, since you can access it very quickly:
localStorage.setItem("key", "value");
var value = localStorage.getItem("key");
That's not to say someone won't make plugins in the future (but how would you do cross-browser support? either there's local storage or there isn't). But you don't need to wait on a plugin for anything here, you can start using it (provided the browser supports it) today.

Nick Craver
- 623,446
- 136
- 1,297
- 1,155
-
2
-
2I had assumed that a jquery plugin would support backward compatibility. No? Does jquery automatically add that for older browsers without localStorage support? – Shanimal May 10 '12 at 15:05
-