12
我有这样的:JQuery的饼干设置到期时间
if (typeof options.expires == 'number') {
date = new Date();
date.setTime(date.getTime() + (options.expires * 5 * 1000));
} else {
date = options.expires;
}
expires = '; expires=' + date.toUTCString();
如何做饼干10分钟后会过期吗?
设置/获取cookie,有几个? – adeneo 2013-02-18 15:44:55
jquery。没有它的单曲。 sry 4我的英语:P – 2013-02-18 15:46:37