gsusmonzon

Sunday, August 11, 2013

JS: detect unsaved changes in a form

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.
Posted by gsusmonzon at 7:19 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

My photo
gsusmonzon
View my complete profile

Search This Blog

Blog Archive

  • ►  2021 (1)
    • ►  October (1)
  • ►  2019 (1)
    • ►  October (1)
  • ►  2017 (2)
    • ►  August (1)
    • ►  June (1)
  • ►  2016 (2)
    • ►  September (2)
  • ►  2015 (2)
    • ►  July (1)
    • ►  June (1)
  • ►  2014 (7)
    • ►  December (1)
    • ►  October (1)
    • ►  May (2)
    • ►  March (2)
    • ►  February (1)
  • ▼  2013 (9)
    • ►  November (1)
    • ►  September (1)
    • ▼  August (2)
      • rubygems: uninstall some gems
      • JS: detect unsaved changes in a form
    • ►  July (2)
    • ►  May (2)
    • ►  March (1)
  • ►  2012 (11)
    • ►  November (2)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ►  June (1)
    • ►  May (1)
    • ►  March (1)
    • ►  February (1)
    • ►  January (2)
  • ►  2011 (12)
    • ►  December (1)
    • ►  October (1)
    • ►  September (4)
    • ►  May (2)
    • ►  April (2)
    • ►  March (2)
Simple theme. Theme images by duncan1890. Powered by Blogger.