View Full Version : Check for any value changed in Form

10-07-2008, 02:21 PM
HI Folks,

Does anyone know what is the easiest way is to check if the user has changed any of the values in a form.

This should be applied if any value existing in the form has changed and it shluld work in both IE and fire fox

Thanks in Advance


10-07-2008, 03:03 PM
you could just include an onchange event on each element on the form to either run the code you want to run if anything on the form changes.



this function can include a flag which you will change the first time a form is changed so that it won't continue to run the code.