摘要: 设置或获取对象指定的文件名或路径。alert(window.location.pathname)设置或获取整个 URL 为字符串。alert(window.location.href);设置或获取与 URL 关联的端口号码。alert(window.location.port)设置或获取 URL 的... 阅读全文
posted @ 2015-12-01 12:08 酸酸の柚子 阅读(119) 评论(0) 推荐(0) 编辑