Is there a ready-made way (maybe in one of the frameworks) to detect whether a form has changed compared to its original values?
The onchange event won't do, because it fires regardless of actual change (I could for example tick a checkbox on, and off again, with two onchange events).
The last resort would be to store each element's original value in a hidden field, and go through each one. If there is a faster method, I'd be happy to hear about it!