Re: javascript :close()
| From: | Stut | Date: | Thu, 31 May 2007 10:59:31 +0000 |
| Subject: | Re: javascript :close() | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-28015@lists.php.net to get a copy of this message | ||
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