Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by sirisha on Jan 26, 2009 20:00
open dhtmlx forum
focus to combo box and not event

Hello,

I want to focus the combo box even after selecting the option through mouse.

The combo box looses focus once selecting the option through mouse click. but through navigation keys it does not.

How do i focus the combo box in that situation.

If i give this "that.DOMelem_input.focus();"., onfocus event is getting fired which i dont want it to happen, instead just

want the combo box to retain the focus.

How do i achieve this.

Please help me.

Thanku

 

 

 

Answer posted by Support on Jan 27, 2009 02:01
Unfortunately there is no any other solution, except adding code line which refocus input element.
( in case of FF - behavior can be controlled through events, but in case of IE there is no workarounds except of direct focus call )