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?)
It would be nice to have an option to not reset / delete the dirty class on submit.
A possible use case is when I have a form submitted via ajax and different steps to complete.
For each step I have a submit, but I don't want to leave the page before the last step.
I could also make a pull request for this feature.
It would be nice to have an option to not reset / delete the dirty class on submit.
A possible use case is when I have a form submitted via ajax and different steps to complete.
For each step I have a submit, but I don't want to leave the page before the last step.
I could also make a pull request for this feature.