Home > Web Front-end > HTML Tutorial > 页面跳转不传值,打开新页面能传值_html/css_WEB-ITnose

页面跳转不传值,打开新页面能传值_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:24:26
Original
1246 people have browsed it

页面跳转 window.open window.location.href

页面跳转不传值,打开新页面能传值。由一个页面跳转到另一个页面,window.location.href=,值传不过去,但是打开新页面就能把值传到新页面window.open 。怎么回事

回复讨论(解决方案)

传值的方式不同,接收的方法也不一样。
是不是你前后使用了两种传值的方式,但是接收方法没变??

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