A light-weight jQuery "dirty forms" Plugin - it monitors HTML forms and alerts users to unsaved changes if they attempt to close the browser or navigate away from the page. (Are you sure?)
Tags: dirty, form, onbeforeunload, save, check
Want to write your own awesome tutorials?
Make and submit them today
No tutorials found, want to write one?
Help support cdnjs
You can contribute on
GitHub to help make cdnjs sustainable!
Or, donate $5 to cdnjs via
Open Collective or Patreon.