Answers for "leave page"

0

leave page

window.onbeforeunload = function(){
  myfun();
  return 'Are you sure you want to leave?';
};
Posted by: Guest on September-25-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language