The wonderful method of closing the window in the IE script

xiaoxiao2021-03-06  41

Usually the programmer knows the script that closes the window: "Window.close ();", but the unfair pop-up window can be turned off, but the new IE window always wants to confirm prompts whether it is determined to be turned off, then later has passed The Object control is directly shut down, the code is as follows:

< Button οnclick = "clo.click ()" />

I don't know which version of IE is still what is still what is, in some places, it can be closed smoothly, but some browsers will be prompted: "Only in HTML help can be used"

There is also a better solution: " Close < / span> "

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

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.046, SQL: 9