window.location.hash的应用及浏览器的支持测试
本文出自:http://ued.alimama.com/front-end/window-location-hash-test/
location是javascript里边管理地址栏的内置对象,比如location.href就管理页面的url,用location.href=url就可以直接将页面重定向url。而location.hash则可以用来获取或设置页面的标签值。比如http://ue
转载
2012-03-14 17:04:06 ·
446 阅读 ·
0 评论