I’m using jQuery 1.4.4 and I’m trying to find a plugin that will warn users when navigating away from a form with unsaved changes. I attempted to code it myself, but ran into issues with window.beforeunload and IE 8.
I need it to not have a restrictive license like GPL as this will be a commercial app and free if possible.
Afermath: I ended up using the dirty forms plugin after getting past a configuration issue thanks to help from their team.
Dirty Forms –> https://github.com/snikch/jquery.dirtyforms
I have not used this personally but looks what you require 🙂