JS写的Cookie类[6]

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

本文简介:选择自 applebbs 的 blog

www.cnblogs.com/images/outliningindicators/none.gif" align="top" alt=""/>        } 
 56    this.delitem=function(name,index){ 
 57        var _ttime=this._cookie[name]["timeout"]; 
 58        this._cookie[name]=this._cookie[name].slice(0,index).concat(this._cookie[name].slice(parseint(index)+1,this._cookie[name].length)); 
 59        this._cookie[name]["timeout"]=_ttime; 
 60        } 
 61    this.getcount=function(name){ 
 62        return this._cookie[name].length; 
 63        } 
 64    this.getitem=function(name,index){ 
 65        return this._cookie[name][index]; 
 66        } 
 67

本文关键:JS写的Cookie类
 

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

go top