Documentation

onChange

fires when the value of the control is changed

void onChange(){ ... };

Example

$$("my_input").attachEvent("onChange", function(newv, oldv){
    webix.message("Value changed from: "+oldv+" to: "+newv);
}

Details

The function executed on this event, takes two arguments - newv and oldv that correspond to the initial control value and the newly set one.

See also

  • samples
  • articles
  • Back to top