Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Steve Compton on Feb 04, 2008 12:47
open dhtmlx forum
Events with dhtmlxCombo

The API lists 4 events for the dhtmlxCombo. How do you attach a script to the events? None of your samples do it. The other products have functions for defining events, but I don't see one for the combo box.
Answer posted by Support on Feb 05, 2008 03:43
The combo-box uses same approach as other components

    var combo=new...
    combo.attachEvent("onChange",function(){
       //any custom code here
    });