Home > Backend Development > PHP Tutorial > js 跳转(target属性)有难度

js 跳转(target属性)有难度

WBOY
Release: 2016-06-02 11:34:58
Original
1417 people have browsed it

跳转jsphp

var form_dl = document.main;​
form_dl.target = 'aa_window'; //始终跳到相同的页面
问题是:
在A页面点击一个连接跳转到B页面,当前停留的页面是B页面。然后再返回A页面继续点击那个连接 虽然B页面的刷新了 但是页面还是停留在了A页面。
我要解决的问题是不管有没有打开B页面 在你点击A页面连接的时候始终跳到B页面。怎么办?

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