DHTMLX Docs & Samples Explorer

onChange

Event occurs when data in some input was changed

Event works for constructed input elements only

Parameters:

  • an item id
  • an item value
  • a checked state (for checkboxes and radios only )
myform.attachEvent("onChange", function (id, value){
     //any custom logic here
});

See also: onInputChange, onBeforeChange