javascript confirm leave page 21 Javascript Confirm Leave Page I want to show a confirmation dialog when user leaves the page. If the user press Cancel he will stay on page and if OK the… Written By Anonymous Thursday, February 26, 2015 Add Comment Edit