杂题
摘要:2017.8.12 1、返回上一页,怎么定位到某个锚点 在跳转之前改变浏览器的hash。这样在下一页直接history.go(-1)就可以定位到锚点处 2、url链接后的参数如何获取,并转化成对象 location.search获取参数串,获取数据如:?a=1&b=2&c=3; 然后通过截取字符串获
阅读全文
posted @ 2017-08-12 22:29
posted @ 2017-08-12 22:29
posted @ 2017-08-10 00:52
posted @ 2017-08-08 23:02