摘要:
cookie是用来保存页面信息,如 自动登陆 记住用户名 cookie的特性:同一个网站(同一个域名)公用同一套cookie;数量、大小有限;有过期时间。 js中使用cookie document.cookie='user=abc;expires='+oDate; js中设置cookie代码: js 阅读全文
摘要:
BOM基础 打开窗口 window.open('about:blank','_blank') 第一个参数是打开哪一个口,第二个参数是在哪里打开窗口。 关闭窗口 window.close() window.location() 可以读取,也可以赋值 可视区尺寸 宽 document,documentE 阅读全文