R
Rithish Saralaya
Is there a way to scroll a selected OPTION into view?
I have a combination of text box and SELECT list. A user can key in
text in the text box, and depending on the entry made, the respective
option in the list is to be highlighted. Somewhat like an
autocolmplete... I have been able to achieve this, however, if the
position/index of the selected option is beyond the SIZE of the SELECT
list, then the OPTION positions itself at the bottom of the list.
Is there a way to scroll the selected OPTION into view? I would not
want to interchange the indexes of the OPTIONs, but merely scroll the
OPTION to be viewed at the top within the list area.
The target browser is IE 5.0+. Hence, a MS compliant solution will
also do.
Advice and suggestions solicited.
Regards,
Rithish.
I have a combination of text box and SELECT list. A user can key in
text in the text box, and depending on the entry made, the respective
option in the list is to be highlighted. Somewhat like an
autocolmplete... I have been able to achieve this, however, if the
position/index of the selected option is beyond the SIZE of the SELECT
list, then the OPTION positions itself at the bottom of the list.
Is there a way to scroll the selected OPTION into view? I would not
want to interchange the indexes of the OPTIONs, but merely scroll the
OPTION to be viewed at the top within the list area.
The target browser is IE 5.0+. Hence, a MS compliant solution will
also do.
Advice and suggestions solicited.
Regards,
Rithish.