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

如何采用新窗口打开

WBOY
WBOYOriginal
2016-06-23 14:12:09693browse

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

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


回复讨论(解决方案)

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

Statement:
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
Previous article:关于PHP更新数据库Next article:请教一个正则