Code: Select all
$(window).unload(function(){
exit = confirm("Your settings are not saved, are you sure you want to leave this page?");
if(exit == false){
return false;
}
}
);
Moderator: General Moderators
Code: Select all
$(window).unload(function(){
exit = confirm("Your settings are not saved, are you sure you want to leave this page?");
if(exit == false){
return false;
}
}
);
Code: Select all
return confirm('...');