I think JavaScript is the only way to do what you want. You can find
something useful on stackoverflow:
http://stackoverflow.com/questions/1631959/browser-window-close-event#1632004
Hello all,
I would like to know if there is a way to open a popup window just before
the user tries to exit the browser window?
I tried using the "onbeforeunload" event on the body tag and managed to get
a prompt message that enables me to go back to the page i tried to exit.
Do you know a better solution?
Thanks
Rebecca
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/warn-on-exit-from-browser-tp3516569p3516569.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]