|
|
Q1475 How do I show a confirm box when the user closes their browser manually as I'd like to remind users to log out of my webpage properly before closing their browser?
irt.org | Knowledge Base | JavaScript | Window | Q1475 [ previous next ] Q1475 How do I show a confirm box when the user closes their browser manually as I'd like to remind users to log out of my webpage properly before closing their browser?By then it would be too late. The only event is the onUnload event and that is triggered even when they leave the page for another one of your pages. You would need to have a test in every link on your page:
Feedback on 'Q1475 How do I show a confirm box when the user closes their browser manually as I'd like to remind users to log out of my webpage properly before closing their browser?' |
-- div -->
|