J
Juhani M?ntt?ri
I would like to have such a solution for a regular select -box, with
javascript. So that I would have a box with options:
<option value="00">00 - Orange</option>
<option value="01">01 - Apple</option>
<option value="02">02 - Lemon</option>
<option value="10">10 - Sausage</option>
etc...
In regular select box when the user selects the select-box and types
'0' and then 1, the selected value is '10 - Sausage'. And I would like
to get '01 - Apple' as selected.
I thought of a solution to do this by having a textfield before(or
above or whereever) the select-box, where the user would type the
text, and the selection would be done according to that. That of
course is not an optimal solution, but a solution nevertheless.
The real-life application will have 460 code-value -pairs, which need
to be on one select-box.
Any comments,
assistance,
help,
is appreciated.
Cheers, jussi
javascript. So that I would have a box with options:
<option value="00">00 - Orange</option>
<option value="01">01 - Apple</option>
<option value="02">02 - Lemon</option>
<option value="10">10 - Sausage</option>
etc...
In regular select box when the user selects the select-box and types
'0' and then 1, the selected value is '10 - Sausage'. And I would like
to get '01 - Apple' as selected.
I thought of a solution to do this by having a textfield before(or
above or whereever) the select-box, where the user would type the
text, and the selection would be done according to that. That of
course is not an optimal solution, but a solution nevertheless.
The real-life application will have 460 code-value -pairs, which need
to be on one select-box.
Any comments,
assistance,
help,
is appreciated.
Cheers, jussi