window.history.go()和history.back()以及location.reload()的用法以及不同
window.history.go(-1); 返回上一页,原页面表单中的内容会丢失;window.history.back(-1); 返回上一页,原页面表单中的内容会保留.以下为举例:关于刷新:window.history.go(0);是直接读取缓存数据,不会从服务器端获取数据;window.location.reload(true);不管有没有缓存,都会强制刷新;window.location