If the window has not been opened by another window using the JavaScript
window.open() method, you need to set the "opener" property of the window
prior to calling "window.close()" or the user will be prompted. Example:
It works okay for me, and I do not use a Javascript window opener. When I
set up the window in question, I simply use the "new window" option in the
hyperlinks dialog box.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.