JS写的Cookie类[12]

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

本文简介:选择自 applebbs 的 blog

style="color: #000000">+"=")!=-1
119                 {if(!confirm("欲保存的cookie名称已经存在,是否要进行替换?")) 
120                                    {this.init(); 
121                                         return false
122                                        }                     
123                 } 
124               var dt=new date(); 
125               dt.settime(dt.gettime()+this.expires); 
126                             document.cookie=this.key+"="+this.value+";expires="+dt.togmtstring(); 
127                      &

本文关键:JS写的Cookie类
 

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

go top