Get the App
SLTechnology News&Howtos  ›  Development  › 

How to realize Page Jump with JavaScript

Shulou Source: shulou.com Published: 2022-06-01 13:07:29 10月05日 Update

This article mainly introduces JavaScript how to achieve page jump related knowledge, content detailed and easy to understand, simple and fast operation, has a certain reference value, I believe everyone will have a harvest after reading this JavaScript how to achieve page jump article, let's take a look at it together.

The first type: direct jump direct jump plus parameters _window.location.href="jump address? backurl="+_window.location.href; jump directly No parameter_window.location.href='jump address'; second: return to the previous browsing interface alert(" return ");window.history.back(-1); return to the previous step Return to the previous step Third: jump to the specified page Jump to the specified page-invalid for the page window.navigate("jump address"); jump to specified page-valid for frames alert("Illegal access! "); top.location='jump address'; fourth: specify its own jump page (invalid for frames) self.location='jump address'; The fifth kind: button button to add time jump The sixth kind: Open a page in a new window Open a new window About "JavaScript how to achieve page jump" The content of this article is introduced here, thank you for reading! I believe everyone has a certain understanding of "JavaScript how to achieve page jump" knowledge. If you still want to learn more knowledge, please pay attention to the industry information channel.

Tags: Page address knowledge content parameters frames articles previous valid value buttons easy to operate articles time easy to understand more interface look industry information Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker macOS Microsoft Huawei Shulou Technology