摘要: location是javascript里边管理地址栏的内置对象,比如location.href就管理页面的url,用location.href=url就可以直接将页面重定向url。而location.hash则可以用来获取或设置页面的标签值。比如http://domain/#admin的locati 阅读全文
posted @ 2017-11-22 17:54 sunsian 阅读(340) 评论(0) 推荐(0) 编辑