Skip to content

Provide HTML5 LocalStorage feature and fallback to use Cookie if browser does not support. Retrievable data is limited to the same domain.

Notifications You must be signed in to change notification settings

giver/jQuery-HTML5-Storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Overview

Usage

$.storage - Represents the user's data store, whether it's cookies or local storage.

$.storage.set("name", "value") - Stores a named value in the data store.

$.storage.set({"name1":"value1", "name2":"value2", etc}) - Stores multiple name/value pairs in the data store.

$.storage.get("name") - Retrieves the value of the given name from the data store.

$.storage.remove("name") - Permanently deletes the name/value pair from the data store.

Thanks

http://www.html5rocks.com/features/storage

http://www.jstorage.info/

http://sites.google.com/site/daveschindler/jquery-html5-storage-plugin

LICENSE

(The MIT License)

Copyright © 2011 Tanin Srivaraphong

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Provide HTML5 LocalStorage feature and fallback to use Cookie if browser does not support. Retrievable data is limited to the same domain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published