Code: Select all
window.onbeforeunload = function(){
mysql_query("DELETE * FR.........");
}then I ran this:
Code: Select all
window.onbeforeunload = function(){
alert("window is closed");
}so what's the different?
Moderator: General Moderators
Code: Select all
window.onbeforeunload = function(){
mysql_query("DELETE * FR.........");
}Code: Select all
window.onbeforeunload = function(){
alert("window is closed");
}