Fill-in as yout type / select

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
 
R

rf

Juhani M?ntt?ri wrote:

[select problem]
The real-life application will have 460 code-value -pairs, which need
to be on one select-box.

460 options? In one select element? Outrageous.

This is an order of magnitude worse than those select elements asking me
which country or US of A state I [don't] live in!

Rethink. Perhaps organize it in a tree structure like yahoo does with its
catagories.
 
K

Kris

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.

Some browsers already do this by default. Maybe visitors who havea
particular need should switch to applications that furfill this need.
 
S

SpaceGirl

Juhani said:
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

Some browser (IE Mac for example) really choke on long select boxes...
until the entire content of the box is loaded, the browser appears to
'freeze'. Not good.

--


x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top