Window onbeforeunload
Posted: Wed May 14, 2008 7:47 am
I want a prompt to come up when users hit the back button, refresh, backspace key, but I want to allow them to click on and load a pop up window without having that prompt coming up saying "do you want to leave?".
The function for my popup window is named enlarge().
If enlarge() is used then I do not want the pop up message asking them if they want to leave to pop up.
The function for my popup window is named enlarge().
If enlarge() is used then I do not want the pop up message asking them if they want to leave to pop up.
