【问题标题】:window.open- title tag isn't shown in chromewindow.open- 标题标签未在 chrome 中显示
【发布时间】:2012-05-23 07:37:13
【问题描述】:

我正在使用 window.open() 在 javascript 中打开新窗口

window.open("UpdateEmailRemainder.aspx", "", "width=630,height=500,status,resizable, top=" + top + ",left=" + 左);

在 UpdateEmailRemainder.aspx.cs 我在服务器端代码中设置了标题标签:

this.Title = "添加电子邮件提醒";

但是,标题仍然是“无标题”。 在 ie 中效果很好。

更新: 我

  • 尝试使用 HTML,但仍然无法正常工作
  • 如果多次刷新窗口,打开开发者工具(f12)或打开页面源-出现标题。

【问题讨论】:

  • 听起来像一个 chrome 错误。最好将其发布在 chrome 错误列表上。

标签: javascript asp.net google-chrome title window.open


【解决方案1】:

您可以在<title></title> HTML 中编写标题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-08-13
    • 2019-12-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-11-26
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多