Closing page without prompt in IE7
In IE6 I use the following to close the parent window in one of my ASP.NET apps:-
window.opener=this;
window.close();
This no longer works in IE7, and now the application prompts the user with "The webpage you are viewing is trying to close the window.
Do you want to close this window?"
Does anyone know of any workarounds that work in IE7?
Thanks for your help
|