jas-/jQuery.handleStorage — Issue #4: Getting and Setting arbitrary sessionStorage info
Author: benekastah
Created: 2011-11-03 22:00:40+00:00
State: open

It appears that handleStorage is only able to interact with forms. My use case is simply that I want persistent data -- not necessarily only when dealing with forms. The most useful and exciting aspect of this plugin to me is that I can use sessionStorage and localStorage with a graceful fallback to cookies.

Is there a way to arbitrarily get and set values in (session|local)Storage using jQuery.handleStorage? Something like:

```javascript
// Not bound to any jQuery selector
var session = $.handleStorage({storage:'sessionStorage'});

session.set("someKey", 12345);
session.get("someKey") // -> 12345
```