Javascript Unload Page Condition
I am using the following code to prompt the user that if he left the page he can't come back. Things happened that i want to redirect the page using setTimeout function after a spe
Solution 1:
Unset onbeforeunload
in the function called by setTimeout
before you redirect the user:
window.onbeforeunload = null;
Post a Comment for "Javascript Unload Page Condition"