Categories | Question details Back To List | ||||||||
dhtmlXCombo using onChange to validate user choice We are running validation for values that users selects from Combo box. If we use the onChange event it fires for every list item that user scrolls through while the select list is open. We want to fire validation only once when the user makes final selection and closes the combo box. Is there a way to catch such condition? Thank you, Stan. Answer posted by Support on Dec 05, 2007 10:01 For now you can use onBlur event which occurs when after selection combo closed. The problem with onChange event confirmed , some kind of fix will be available in few days. Answer posted by Support on Dec 07, 2007 03:42 You can use attached js file instead of original one, now onChange event occurs only - value selecte by mouse click - value selected by keyboard navigation and Enter key - new value typed and focus moved outside of combo Attachments (1)
Answer posted on Dec 07, 2007 08:05 thank you! |