Questions Tagged [onbeforeunload]

The onbeforeunload event is triggered before a user navigates away. This event listener can be used to show a confirmation dialog to the user on page leave.

Question is empty. Ask new Question

Popular Questions