I am using an AJAX function that calls some PHP file when the user unloads a page.
This runs fine when the unload is fired because of a link being clicked on. However, if I hit backspace or the browser's back button the PHP appears not to be executed (even though the alert I set in Javascript just before the PHP is called by the AJAX function does pop-up).
What am I missing..?!?
This runs fine when the unload is fired because of a link being clicked on. However, if I hit backspace or the browser's back button the PHP appears not to be executed (even though the alert I set in Javascript just before the PHP is called by the AJAX function does pop-up).
What am I missing..?!?