Home > Web Front-end > HTML Tutorial > Transfer Use onclick to jump to other pages/jump to the specified url_html/css_WEB-ITnose

Transfer Use onclick to jump to other pages/jump to the specified url_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:52:41
Original
1798 people have browsed it

☆ If this page is displayed, you can use location directly. The method is as follows:
 ①onclick="javascript:window.location.href='URL'"
 ②onclick="location='URL'"
 ③onclick="window.location.href='URL?id=11'"
☆If there is a frame in the page, you can add top.mainframe.frames['right_frame'].location

in front of the location
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