Sometimes you need to know if the user has changed any of the fields on the page. I wrote a jModified jQuery plugin that will allow you to do just that. It works by hooking it up to form fields, and providing a callback method that will give you the form id, the original value, and the new value. Unlike a simple handling of the change event the original value is preserved so you can see if it actually changed. The form fields: < label for = " a " > Field A : < / label > < input id = " a " name = " a " type = " text " value = " a value " / > < br / > < label for = " b " > Field B : < / label > < input id = " b " name = " b " type = " text " value = " b value " / > < br / > < label for = " c " > Field C : < / label > < input id = " c " name = " c " type = " text...
Making source code easier to understand