window.blur无论如何都不工作

时间:2017-04-26 09:53:52

标签: jquery

我试图在模糊中打开一个窗口,但它无效。

基本上我想要的就是我想要的容易。

有两个窗户 - 我将在其中打开另一个窗口。 2.将打开的新窗口。

 var meds= {
     currentWindow:window,
     Window:''
 };

   meds.Window = window.open('http://www.meds.com',"com_meds._Code");
    meds.Window.blur();
    window.focus(); //setting focus on current window

但这不起作用。我尝试了许多其他类似的解决方案,但似乎没有任何效果。

请帮忙!

0 个答案:

没有答案
相关问题