The following events are available in dhtmlXForm:
The user can add any user-defined handler to any of the available events. To do this, the user can use attachEvent() method with the following parameters:
myform.attachEvent(evName, evHandler);
Several handlers can be attached to one and the same event, and all of them will be executed. Note: the names of the events are case-sensitive.
There is a simple way of removing an event-handler:
var id = myform.attachEvent("onDirty",some_code); ... myform.detachEvent(id);