https://github.com/celsojr/jsremember
The jsRemember plugin saves form entries to local storage preventing loss of data on browser crashing. It will work with most common form elements such as Text, Textarea, Password, Select (Combobox), Radio, and Checkbox.
https://github.com/celsojr/jsremember
javascript jquery jstorage
Last synced: 2 months ago
JSON representation
The jsRemember plugin saves form entries to local storage preventing loss of data on browser crashing. It will work with most common form elements such as Text, Textarea, Password, Select (Combobox), Radio, and Checkbox.
- Host: GitHub
- URL: https://github.com/celsojr/jsremember
- Owner: celsojr
- License: mit
- Created: 2016-10-01T20:53:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-01T21:34:08.000Z (over 8 years ago)
- Last Synced: 2025-01-25T23:38:34.458Z (4 months ago)
- Topics: javascript, jquery, jstorage
- Language: JavaScript
- Size: 105 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jsRemember
The **jsRemember** plugin saves form entries to local storage preventing loss of data on browser crashing. It will work with most common form elements such as `Text`, `Textarea`, `Password`, `Select (Combobox)`, `Radio`, and `Checkbox`.Supported browsers include IE6+, FF2+, Safari4+, Chrome4+, Android 2+, and Opera 10.5+.
In short, if you fill in a form and close the browser, when you come back again, your data will be still there. But when the page is submitted, all stored data is cleared.
It requires [jStorage](http://www.jstorage.info/) by Andris Reinman to work (included along with the download package).
Using the Code
--------------Using **jsRemember** is quite easy! Just call it like any other JavaScript code like this:
```html
...
...
```
And then, all you need to do is get free writing your HTML forms because **jsRemember** doesn't depend on an element's name, ID, or CSS class to work. Just call it and you are done!
```html
...Text field:
...
```See the online demo [here](http://celsojr.com/demos/jsremember/index.html).
That's it! Hope this saves your time dealing with cookies, view state, or something. Enjoy!
Thanks for your time reading this.
History
-------* 07-26-2013: Original publishing date