当前位置:好百科>百科词条>javascript window.history.go(-1);返回刷新不执行呢?是不是你们的BUG啊

javascript window.history.go(-1);返回刷新不执行呢?是不是你们的BUG啊

2024-10-31 10:08:37 编辑:zane 浏览量:541

javascript window.history.go(-1);返回刷新不执行呢?是不是你们的BUG啊

的有关信息介绍如下:

javascript window.history.go(-1);返回刷新不执行呢?是不是你们的BUG啊

您好!很高兴为您答疑。 火狐浏览滑笑器关于web页面的方法说明如下:  History.go()Loads a page from the session history, identified by its relative location to the current page, for example -1 for the previous page or 1 for the next page. When integerDelta is out of bounds (e.g. -1 when there are no previously visited pages in the session history), the method doesn't do anything and doesn't raise an exception. Calling go() without parameters or with a non-integer argument has no effect (unlike Internet Explorer, which supports string URLs as the argument). 据此可知其本身没有刷新不刷新页面之说,而是Loads a page from the session history,如果您需要更多的说明,可以参阅芦让穗:https://developer.mozilla.org/en-US/docs/Web/API/window.history  如果对我们的回陪卜答存在任何疑问,欢迎继续问询。

版权声明:文章由 好百科 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.haobaik.com/tips/183865.html
热门文章