JavaScript窗口自动最小化

JavaScript窗口自动最小化,javascript,html,hyperlink,functional-programming,popupwindow,Javascript,Html,Hyperlink,Functional Programming,Popupwindow,我的JavaScript窗口一直在自动最小化自己。它会短暂弹出,然后最小化 这是我的密码: function ESRlink9() { if (esr_link.value == "9" && seen_message.value != "True" && last_updated.value < "2015-01-01 00:00:00.000") { window.open('alerts/alert.html','St

我的JavaScript窗口一直在自动最小化自己。它会短暂弹出,然后最小化

这是我的密码:

function ESRlink9()
{   
   if (esr_link.value == "9" && seen_message.value != "True" && last_updated.value < "2015-01-01 00:00:00.000")
     {
      window.open('alerts/alert.html','StatusBar', 'toolbar=no,resizable=no,scrollbars=no,width=520,height=420,left=500,top=200' )
      UpdateSeenMessage('True')
      }
   else
     {
     alert("Your details are fine")
     }

     }
function UpdateSeenMessage(update_text2)
     {
     getDoc('/sorce/configs/enh_ui/banner/updateSeenMessage.aspx?update_text2=' + update_text2)
     }

您能看一看并分享您的想法吗?

这可能与您的更新消息“True”有关。一些额外的代码可能会有帮助。谢谢,我们在UpdateSeenMessage函数中也添加了一些代码。