JS写的Cookie类[10]

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

本文简介:选择自 applebbs 的 blog

98                 {alert("请先设置欲保存的cookie名称!"); 
 99                                  this.init(); 
100                  return false
101                 } 
102               if(this.key.match(/[,; ]/)) 
103                 {alert("cookie名称中不能包含“,”、“;”或空格!"); 
104                                  this.init(); 
105                  return false
106                 } 
107               if(this.value.tostring().match(/[,; ]/)||typeof(this.value)=="undefined"
108

本文关键:JS写的Cookie类
 

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

go top