Hi,
Apex 4.2.6.00
Oracle 11 and 12c
I have added this JS code on my application page to get an alert message if user close the browser. it is working fine but I want this should work only when user close the browser NOT when submit or back button. Any help please? It is urgent.
$(window).on('beforeunload', function(){
return "Do you want to close the current session";
});
many thanks,
IR