Do not prompt the web window

xiaoxiao2021-04-04  246

Today, when I look at a system, I found that the original window in the main interface of the login pop-up system is not prompting, it is quite strange. So I look at the code to see, I found that it is only a simple code.

<

Script

>

FUNCTION

Openit ()

{WINDOW.OPEN ('bb.htm'); window.opener = "xxx"; window.close ();}

Script

>

<

Input Type

=

"

Button

"

Value

=

"

Test

"

Onclick

=

"

Openit ()

"

>

It is to give Window.opener casually, you can go to the code in IE6.0, and don't know, you can try it.

Http://tsoukw.cnblogs.com/archive/2006/06/15/42676.html

转载请注明原文地址:https://www.9cbs.com/read-131820.html

New Post(0)