Home > Web Front-end > JS Tutorial > body text

Collection of javascript page jump methods_javascript skills

WBOY
Release: 2016-05-16 18:54:48
Original
1106 people have browsed it

[Ctrl A Select all Note: If you need to introduce external Js, you need to refresh to execute
]
window.location The difference with window.open

window.location = "http://www.jb51.net" There is a back function after jumping
window.location.replace("http://www.jb51 .net") There is no back function after jumpingwindow.open("http://www.jb51.net") To open the link in a new window
Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!