window.history.go(-1)和window.location.go(-1)的区别:
window.history.go(-1)和window.location.go(-1)的区别
虽然都跑到上一页去了,但:
window.history.go(-1) 是返回上一页
window.location.go(-1) 是刷新上一页
注:信息来源地址http://blog.sina.com.cn/s/blog_8edc37a801017z2s.html
window.history.go(-1)和window.location.go(-1)的区别
虽然都跑到上一页去了,但:
window.history.go(-1) 是返回上一页
window.location.go(-1) 是刷新上一页
注:信息来源地址http://blog.sina.com.cn/s/blog_8edc37a801017z2s.html