从A页面打开B 页面,B页面打开C页面,然后返回,现在的结果是C返回到B,B点返回就到C了,如何返回到A。进入C 页面不仅仅是从B页面进入,也可以从A页面直接进入,D 页面也可以进入
Javascript 返回上一页 history.go(-1), history.back().window.history.forward() 都不可以实现
Javascript 返回上一页 history.go(-1), history.back().window.history.forward() 都不可以实现
<a href="B.html">跳转到B</a>
<a href="C.html">跳转到C</a>
这是B页面
<a href="C.html">跳转到C</a>
<a href="javascript:history.back(-1);">返回</a>
这是C页面
<a href="javascript:history.back(-1);">返回</a>