JS写的Cookie类[4]

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

本文简介:选择自 applebbs 的 blog

style="color: #000000"> date(parseint(_mars["timeout"])).togmtstring()); 
 31            } 
 32         
 33        } 
 34    this.getcookiecount=function(){ 
 35        var _length=0,key; 
 36        for(key in this._cookie)_length++
 37        return _length; 
 38        } 
 39    this.create=function(name,days){ 
 40        days=days?days:0
 41        if(!this._cookie[name])this._cookie[name]=[]; 
 42        this._cookie[name]["timeout"]=days!=

本文关键:JS写的Cookie类
 

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

go top