首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > jquery-persist

jquery-persist

  • 资源大小:2.83 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

jQuery Persistent Form Values Any element made persistant with jQuery-persist will store its value in a cookie when changed - and when returning to the page later, retrieve its values from that cookie. By default, it uses the fields name to identify its persisted value, so it will work across different forms and pages. Use the "context" option to differentiate between different forms that use inputs with the same name. Example usage: $("input,select,textarea").persist(options); options: { context : "def", // a context or namespace for each field replace : true, // replace existing field contents if any cookie : "jqpersist", // cookies basename path : "/", // cookie path domain : null, // cookie domain expires : null // cookie expiry (eg 365)} Requires jQuery.cookies. There"s a tester/demo included in the download.

文 件 列 表

jquery-persist
jquery.cookie.js
jquery.persist.html
jquery.persist.js

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP