DHTMLX Docs & Samples Explorer

onChange Event

This event calls user-defined handlers (if there are any) and passes the following parameters:

  • newValue - slider's new value;
  • sliderObj - slider's object.
          sld.attachEvent("onChange",function(newValue,sliderObj){
              alert("New value is "+newValue);   
          })