JS写的Cookie类[5]

[入库:2005年8月18日] [更新:2007年3月25日]

本文简介:选择自 applebbs 的 blog

"color: #000000">0?new date().gettime()+parseint(days)*86400000:0
 43        } 
 44    this.modify=function(name,days){ 
 45        this.create(name,days); 
 46        } 
 47    this.gettime=function(name){ 
 48        return new date(parseint(this._cookie[name]["timeout"])); 
 49        } 
 50    this.delete=function(name){ 
 51        this.create(name,0); 
 52        } 
 53    this.additem=function(name,value){ 
 54        this._cookie[name][this._cookie[name].length]=value; 
 55

本文关键:JS写的Cookie类
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top