Click to See Complete Forum and Search --> : Close a page that contains a frameset


Kurhen
10-16-2003, 10:52 AM
When I use 'parent.close();' or 'top.window.close();' browser is giving an alert "Page you are viewing tries to close the window...' Please advise how to get rid of this message. Thank you.

requestcode
10-16-2003, 11:35 AM
You can't that is a security feature to keep someone from closing your browser window without your permission. You can only close browser windows that were opened via the javascript window.open statement and not get that message. What are you trying to do? Maybe there is another solution.