Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize Page Jump with JavaScript

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report