form object waschanged state???


Is there any way that I can find out if any field value on the form has changed? I can fire onchange event for field but I am looking for something generic. Any idea would be great.


Different items (like checkbox, input) should have different handlers then. onChange more common.