PHP中,通过Button控件的onClick()事件打开网页的方式有很多。
比如下面的这两种:
location.href=’xxxxxx’

网页在当前页面打开。

window.open(‘xxxxxxxxx’)

网页新开窗口打开。

——————————————————
Done。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

隐藏
变装