Home > Backend Development > PHP Tutorial > 如何采用新窗口打开

如何采用新窗口打开

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 14:12:09
Original
736 people have browsed it

exit("<script> alert('提交成功!');location.href='http://www.baidu.com';</script>");

如何在提交成功后在新窗口打开百度?本人小白一枚,请多指教!


回复讨论(解决方案)

window.open('http://www.baidu.com')

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