Re: javascript :close()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



chandar wrote:
I have a webpage with frames,i have provided a link and when the user clicks the link i am closing the window.
For closing i am using javascript:window.close();
when i click the link in IE i get a command window telling you are going to close this window.
Is there anyway to supress this alert?

That would be a javascript question on a PHP list. In future please direct your questions to an appropriate list.

IE will ask the user if it's ok to close a window unless the script asking to close it also opened it. This prevents scripts from closing windows they don't own.

-Stut

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux