Categories | Question details Back To List | ||||||||
Event Handled for mouse click in the option list of a combo box 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 Answer posted by Support on Apr 03, 2008 06:08 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 }; Answer posted on Apr 03, 2008 07:20 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 Answer posted by Support on Apr 03, 2008 10:03 Please check attached sample Attachments (1)
Answer posted on Apr 03, 2008 22:14 Quick Reply.. wow..Thanks... Its works fine Regards, Ashok |