jq,返回上一页,小记history.back(-1)和history.go(-1)区别

<input type="button" name="back" value="重新填写" onclick="javascript:history.back(-1);"/>

history.back(-1):直接返回当前页的上一页,数据全部消息,是个新页面
history.go(-1):也是返回当前页的上一页,不过表单里的数据全部还在
原文地址:https://www.cnblogs.com/liqiong-web/p/6722204.html