摘要: 我们可能都知道javascript中的window.location对象用来获取当前页面的地址URL,并把浏览器重定向到新的页面。它有protocol、hostname、host、port、search、hash、href、pathname等属性 比如: window.location.href返回 阅读全文
posted @ 2016-09-23 21:48 罗Q 阅读(2573) 评论(0) 推荐(0) 编辑