Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/audionerd/jquery-informant
[UPDATE: Indie Labs ended up doing their own port to jQuery, and it's better. I'm leaving this up for historical reason only] Warn users when they try to leave a form with unsaved changes. Ported from Indie Lab's "Informant".
https://github.com/audionerd/jquery-informant
Last synced: about 1 month ago
JSON representation
[UPDATE: Indie Labs ended up doing their own port to jQuery, and it's better. I'm leaving this up for historical reason only] Warn users when they try to leave a form with unsaved changes. Ported from Indie Lab's "Informant".
- Host: GitHub
- URL: https://github.com/audionerd/jquery-informant
- Owner: audionerd
- Created: 2009-12-03T04:32:09.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2009-12-03T04:32:59.000Z (about 15 years ago)
- Last Synced: 2023-03-10T21:18:35.456Z (almost 2 years ago)
- Homepage: http://github.com/ihearithurts/informant/
- Size: 74.2 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
jquery.informant
================A jQuery port of [Indie Lab's Informant for Prototype.js](http://github.com/ihearithurts/informant/)
Bonus features in the jQuery plugin version:
* easily include/exclude forms based on selector, e.g.:
> `$('form:not([class~=uninformed])').informant();`
* easily adjust the alert message, e.g.:
> `$('form').informant({ message: "O RLY?" }); `
THE CAVEAT SLIDE
----------------
* It was a quick hack.
* Never tested in IE. Tested only in Firefox and Safari for Mac.
* Briefly tested with multiple forms, but not thoroughly.
* Never used in production