javascript 返回上一页并刷进

返回上一页:

 location.href = history.back();

返回上一页并刷新

location.href = document.referrer;

返回上两页:

history.go(-2);

你可能感兴趣的:(javascript 返回上一页并刷进)