Dhtmlxcombo - onkeypress event

Hi,



I’m using dhtmlxcombo with Firefox 3.



I want to validate my forms with F10 key. To do that, I use the shortcuts.js library (openjs.com/scripts/events/ke … shortcuts/).

But when a dhtmlxcombobox has focus, pressing F10 key does nothing. I guess the “onkeypress” event is not propagated.

Is there a way to fix that ?



I’ve found another little problem. When I typed some text in a combobox and I clicked directly on the submit form button

(without using tab key, only mouse click), the value is lost.



Regards,



Flo

The key events inside combo input blocked by component’s code

dhtmlxcombo.js , line 612, _onKeyF method
ev.cancelBubble=true;
dhtmlxcombo.js , line 634, _onKey method
(e||event).cancelBubble=true;

>>and I clicked directly on the submit form
Problem confirmed , please try to use attached js file instead of original one - it must work correctly in described scenario.

dhtmlxcombo.zip (9.08 KB)

Awesome, it works perfectly now. Thanks !