Home >Web Front-end >JS Tutorial >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';
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!