(转)window.location.hash 属性使用说明

location是javascript里边管理地址栏的内置对象,比如location.href就管理页面的url,用location.href=url就可以直接将页面重定向url。而location.hash则可以用来获取或设置页面的标签值。

原文链接:http://www.jb51.net/article/22656.htm

原文地址:https://www.cnblogs.com/jronny/p/6703630.html