Client/JS Framework for "Unsaved Data" Protection?
Posted
by Kevin Dostalek
on Stack Overflow
See other posts from Stack Overflow
or by Kevin Dostalek
Published on 2008-09-26T16:12:53Z
Indexed on
2010/03/31
20:43 UTC
Read the original article
Hit count: 340
Hey all- we have a typical web application that is essentially a data entry application with lots of screens some of which have some degree of complexity. We need to provide that standard capability on making sure if the user forgets to click the "Save" button before navigating away or closing their browser they get a warning and can cancel (but only when there is unsaved or dirty data).
I know the basics of what I've got to do-- in fact I'm sure I've done it all before over the years (tie in to onbeforeunload, track the "dirty" state of the page, etc...) but before I embark on coding this YET AGAIN, does anyone have some suggestions for libraries already out there (free or otherwise) that will help out?
Thanks!
© Stack Overflow or respective owner