- 博客(1)
- 收藏
- 关注
原创 JavaScript Window Location常用知识总结
Location 对象属性hash:设置或返回从井号 (#) 开始的 URL(锚)。host:设置或返回主机名和当前 URL 的端口号。hostname:设置或返回当前 URL 的主机名。href:设置或返回完整的 URLpathname:设置或返回当前 URL 的路径部分。port:设置或返回当前 URL 的端口号。protocol:设置或返回当前 URL 的协议。search:设置或返回从问号...
2018-07-05 11:20:15
208
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人