onbeforeunload Event


/ Published in: JavaScript
Save to your folder(s)

This snippet uses the <code>onbeforeunload</code> event to ask users whether they want to remain on the current page or navigate to a new URL.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.