To solve the window. The opener = null; Window. close of only support IE6 does not support IE7 IE8 problem

  • 2020-03-30 01:22:29
  • OfStack

Open a new window and close the window
The function openWin () {
Window. The open (' login. JSP ', ' ', 'fullscreen = yes, menubar = no, the resizable = no ");
Window. The opener = null;
Window. The close ();
}


For in IE7

The function openWin () {

Window. The opener = null;
Window. The open (' login. JSP ', ' ', 'fullscreen = yes, menubar = no, the resizable = no ");
Window. The close ();
}

///////////////////////
< A href = "#" onclick = "window. The opener = null; Window. The open (', 'love'); Window. The close ();" > Unconfirmed closure < / a>
Window. opener=null; Window.close (); window.open('','_self');
With respect to OK!


Related articles: