I need to perform different actions based on the way a popup window is closed
I assume there are two ways to close a popup window,
- Click the close button on the popup window
- use
window.closefunction
Is there a way to determine which way is used when a popup window closes?