Update form monitor

When a field value is modified, the CSS class "MonitorForm_modified" is added to the element. You can also customize the visual effect. You just have to call monitorForms as above somewhere in your load function :

      <script type="text/javascript">
      MonitorUpdateForm.monitorForms();
      </script>

Old onchange and onreset functions are preserved.

Tested with :

Alexandre SIMON.

Example

Please modify some form value.





Download the source code

Upper