Web Hosting Talk







View Full Version : Combobox Focus in IE and Firefox


superprogram
10-11-2005, 02:30 AM
Hi
If you have observed there is a difference the way combobox behaves in IE and Firefox

If we have a combo-box of the type:



<OPTION VALUE="AB">AB-Principal Inflow</OPTION>
<OPTION VALUE="AC">AC-Principal Outflow</OPTION>



In Firefox, if the focus is on the combo-box and the user types in AB, it focusses the AB line.

In IE, only the first letter typing seems to work - when the user types A, it selects the PB line. But on typing B or C, it again gets reset and starts looking for a line starting with B or C.

Any reason for the same / suggested workaround?

My code for combobox is in Javascript.
Is it possible to have the same behaviour in IE??
Thanks