
本文实例讲述了jQuery操作cookie的插件。分享给大家供大家参考,具体如下:
jQuery.cookie = function(name, value, options) {
if (typeof value != undefined) { // name and value given, set cookie
options = options || {};
if (value === null) {
value = ;
options.expires = -1;
}
var expires = ;
if (options.expires
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...