javascript_howto thread: How to stop a webpage from unloading
Hi, I'm using a script to ask the user if they want to leave a webpage or not. I'm using confirm() to do this with a function on the onUnload event. However when the user clicks cancel the page still unloads. Please help. Thanks Terence
|





