![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm using OnUnLoad in my body statement to redirect to a function to clean things up if someone exits a form by closing it from outside the webpage code - e.g. by not using the cancel or save and exit buttons I have supplied but by clicking on the browser window top right X or closing it by clicking with the right mouse button on the tray icon for the window. Unfortunately it is also triggered by a refresh, which my web page does as part of it's functionality. Is there not a way of only trapping "improper" exiting of a web page? Thanks. |
#3
| |||
| |||
|
|
I'm using OnUnLoad in my body statement to redirect to a function to clean things up if someone exits a form by closing it from outside the webpage code - e.g. by not using the cancel or save and exit buttons I have supplied but by clicking on the browser window top right X or closing it by clicking with the right mouse button on the tray icon for the window. Unfortunately it is also triggered by a refresh, which my web page does as part of it's functionality. Is there not a way of only trapping "improper" exiting of a web page? Thanks. |
![]() |
| Thread Tools | |
| Display Modes | |
| |