Hi all, I have a form that redirects to a thank you page after submission. I want this thank you page to be closed after a few seconds. The redirection to this thank page is via php. The form doesn’t open via JS or popup, it’s a part of a page. Window.close(); doesn’t work for me here (on IE it works, but not on FF or chrome). Anyone knows how to close a page without user permission?
the only way to close a window is throught window.close(); the only window you can close without the user's permission is a pop-up window, if you're closing a parent window a confirmation dialog will appear.. why not create a js pop-up to put your message there, in that way you have the control to remove that pop-up.. an example would be jquery dialog