Home > Web Front-end > JS Tutorial > How to implement page jump in js

How to implement page jump in js

WJ
Release: 2020-05-30 18:01:32
Original
2697 people have browsed it

How to implement page jump in js

#How to implement page jump in js?

js can use "window.location.href="Jump address"" to implement page jump Method ;

Specific The usage is as follows:

First create an html file and fill in the following code:

window.location.href = 'nextPage.php';
Copy after login

Then run the file on the browser to jump to the page. change.

Related references:JS Manual

The above is the detailed content of How to implement page jump in js. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
js
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template