This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
My belief is that self.close() should work with any of the browsers. However, I'm facing problem with this function in Mozilla. I know that this can be used to close the pop up windows opened by the script and the pop up Im opening is with the script.
I have written the following script
Thanks for your time and help
Joined: Sep 18, 2006
Im desparately looking out for some pointers on this issue. Please let me know if I need to help you more to understand the problem.
Well, what I know is that self.close() and window.close() work only in browser windows opened by a script only. You cannot do that to any normal window. It seems that this is what you are trying to do, since you are speaking about a pop-up window. both self.close() and window.close() work well with with all browsers, so this just makes me suspect that something might be wrong with opening the pop-up.
Marcos Drake once had a solution for closing firefox windows and tabs, but that doesn't work now on the newer versions of firefox.