Is there an event that is fired when a user leaves the current page?
We have a page in which you can enter data (in a database), the key is saved from the moment you enter the page. The problem is you can leave the page in another way (we use different frames), without saving the changes you made, but then an empty record is saved. We try to delete that record from the moment you leave the page without hitting the save-button and without hitting a cancel(so delete)-button...
It's not working with Page Unload. Is it possible to do this in another way? thx
We have a page in which you can enter data (in a database), the key is saved from the moment you enter the page. The problem is you can leave the page in another way (we use different frames), without saving the changes you made, but then an empty record is saved. We try to delete that record from the moment you leave the page without hitting the save-button and without hitting a cancel(so delete)-button...
It's not working with Page Unload. Is it possible to do this in another way? thx