Hi Team,
I want to know, is there any event handler for mouse click over the option list in combo box? . I tried “onSelectionChange” event, but in that i dont know the onSelectionChange event is called by key navigation or mouse… because both for navigation and mouse clisk the onselectionChange event is called.
So My need is, whenever I want to select the option in the list(by mouse only), then i will send the request. Please guide me to achieve this.
Thanks in Advance
Regards,
Ashok
You can try - onChange event , when occurs on selecting option by clicking, or by pressing enter key
There is no event which will fire only for selecting option by mouse, if it really necessary you can override _selectOption method
combo._selectOptionA=combo._selectOption;
combo._selectOption = function(){
this.apply(this._selectOptionA,arguments);
//any custom code here
};
Hi team,
Could you please send me with examples?. because i dont know where to update your code. whether in custom js… or your dhtmlx_combo.js… so please send me with examples.it will be helpful for me…
Thanks in advance
Regards,
Ashok
Quick Reply… wow…Thanks…
Its works fine
Regards,
Ashok