I am building a WYSIWYG HTML editor. I would like to know how to propmt the user to save changes if they haven't already before leaving the page (back button, exiting browser, etc...) Any code samples would be great.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.