Results 1 to 2 of 2
May 18, 2007, 02:01 #1
i have a problem with window.close. i want to close a window while clicking
a button. i have written code for closing the window. it is working perfectly in
pop up windows.
i want to run this script in parent window. i.e i want to close the window while clicking a button.
it is working in IE and showing a warning. but not working in firefox.
can any one tell me an alternative solution
Last edited by Jelena; May 18, 2007 at 02:51. Reason: no self-promo urls in posts please
May 18, 2007, 06:18 #2
- Join Date
- Jan 2005
- Too far up north
- 0 Post(s)
- 0 Thread(s)
This is not really possible (...), you can only close windows that you yourself opened via script. Firefox does actually give you a warning, check the Error Console.