在前台使用
var
url = 'AddFiles.aspx?name=' + nm + '&id=' + id; window.open(url, "", "width=1024,height=768");

 在后台使用

Response.Write("<script type=\"text/javascript\">window.open(\"ModifyList.aspx?id=" + id + "\");</script>");
Response.Write("<script type=\"text/javascript\">window.open(\"EditInfo.aspx?material_NO=" + this.material_NO.Value + "&customer=" + this.Customer.Value + "&DEPT=" + this.DEPT.Value + "\");</script>");

 

window.open(URL,name,specs,replace)

name:_blank(新窗口),

    _self(替换当前页面)。

    _parent - URL加载到父框架。

    _top - URL替换任何可加载的框架集

 

相关文章:

  • 2021-07-04
  • 2022-12-23
  • 2021-08-26
  • 2021-11-10
猜你喜欢
  • 2021-09-11
  • 2022-12-23
  • 2022-01-22
  • 2021-06-02
  • 2022-01-18
  • 2021-10-19
相关资源
相似解决方案