摘要: 1,设置或获取对象指定的文件名或路径。 alert(window.location.pathname) 2,设置或获取整个 URL 为字符串。 alert(window.location.href); 3,设置或获取与 URL 关联的端口号码。 alert(window.location.port) 阅读全文
posted @ 2020-05-27 16:48 诩小贝 阅读(461) 评论(0) 推荐(0) 编辑
Copyright ©2016 诩小贝   联系QQ:980823367