【问题标题】:any other option for php header in jqueryjquery中php标头的任何其他选项
【发布时间】:2012-05-02 11:36:41
【问题描述】:

我们是否有任何其他选项可以在另一个窗口中打开 url,例如 jquery 对话框 ui 或其他具有相同功能的东西,例如 PHP 的标头

header('Location: http://www.example.com/');

【问题讨论】:

    标签: php jquery jquery-ui


    【解决方案1】:

    你可以使用javascript打开方法window.open(URL)

    例如window.open('http://stackoverflow.com','','width=400,height=600')

    【讨论】:

      【解决方案2】:

      有点难以理解你在问什么,但这能满足你的需要吗?

      <a href="http://www.stackoverflow.com/" target="_blank">Open SO in a new window.</a>
      

      【讨论】:

        猜你喜欢
        • 2016-10-15
        • 1970-01-01
        • 1970-01-01
        • 2020-08-11
        • 1970-01-01
        • 2012-08-17
        • 2011-02-26
        • 2018-02-15
        • 1970-01-01
        相关资源
        最近更新 更多