Here is a small jQuery plugin to detect changes on a form.
https://github.com/gsusmonzon/jquery.simple.unsaved
The tricky part is to store a hash of the serialization string instead of the full serialized form. The rest is not worth mentioning.
No comments:
Post a Comment