Thoughtblog.com by Niels Hansen.
Subscribe to my feed

Monday, February 07, 2005

How to close an Internet Explorer window without the security Dialog

I found this cool code sample from a site I was visiting. This will allow you to close the IE window that is open by setting the close property


< SCRIPT >
function closeThisWindow()
{
window.opener = window;
window.close();
}
< / SCRIPT >

0 Comments:

Post a Comment

<< Home