摘要:
1、方法一functionSetCookie(name,value){document.cookie=name+"="+escape(value)+";path=/"; // 设置的cookie关闭浏览即失效}2、方法二document.cookie="key=" + value; 阅读全文
摘要:
1、定义function Marker(id){ this.id = id;}// end function2、引用var markerObj = new Marker(id); 阅读全文