Plugin jQuery: jQuery Form Remember State plugin

jQuery Form Remember State plugin
http://www.jqueryrain.com/?http://shaneriley.com/jquery/remember_state/
https://github.com/shaneriley/jquery_remember_state
30/12/2012

Nội dung

jQuery Form Remember State plugin

When called on a form element, localStorage is used to remember the values that have been input up to the point of either saving or unloading. (closing window, navigating away, etc.) If localStorage isn’t available, nothing is bound or stored.

By default, the plugin looks for an element with a class of remember_state within the form to show a note indicating there is stored data that can be repopulated by clicking on the anchor within the remember_state container. If the element doesn’t exist, it is created and prepended to the form. You can override the selector and the HTML that is prepended in the options object you pass to the plugin.

Tags: Html5 Local Storage

Nguồn: www.jqueryrain.com/2012/12/jquery-form-remember-state-plugin/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận