Hello All
I have a logout button that needs to be pressed before a user exits the page, so how do I create an alert when the user tries to exit the page without clicking the logout button? Something that will ask the user if he/she has pressed the logout button before exiting the page, if so go ahead and press yes and the page will exit, or if no the user will be brought back to the page. Hope I was clear. Thanks.
Tone
I have a logout button that needs to be pressed before a user exits the page, so how do I create an alert when the user tries to exit the page without clicking the logout button? Something that will ask the user if he/she has pressed the logout button before exiting the page, if so go ahead and press yes and the page will exit, or if no the user will be brought back to the page. Hope I was clear. Thanks.
Tone
Comment