It's a security feature that unables script to close a window he did not
open.
There are some walkarounds but you will have to give me first some more
details on the application:
When you close this window are there any other windows opened?
"Mariame" <Ma************@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hi Everyone
im trying to close a window using "window.close()"
but it send a message dialog before closing the web page says :
"The Web Page you are viewing is trying to close the window, do you want
it to close this window?"
is there any solutions so that message dialog doesent appear & the web
page close immediatly???
Regards