467,910 Members | 1,604 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,910 developers. It's quick & easy.

<select>

I have a select box with a lot of entries in it, some of which start with
the same letter.

I want the user to be able to type the first few letters into the select box
and have the list "move" to the appropriate place.

any one know how to achieve this?

TIA
Steve
Jul 20 '05 #1
  • viewed: 1513
Share:
2 Replies
Steve Wright wrote:
I have a select box with a lot of entries in it, some of which start with
the same letter.

I want the user to be able to type the first few letters into the select box
and have the list "move" to the appropriate place.

any one know how to achieve this?


That kind of functionality is dependant on the UAs implementation.
Currently, users can type the first letter only, which you may have to
live with. You may be able to try some javascript, which you should ask
about in a javascript newsgroup; but be warned that, unless written
extremely well, this may cause unexpected behaviour for user's, thus
making the form more difficult to use, rather than easier. My
experience with javascript on other websites (never my own) that attempt
to assist the user with forms, have been written extremely poorly, and
bugs have made them very difficult to use.

--
Lachlan Hunt
http://www.lachy.id.au/
la**********@lachy.id.au.update.virus.scanners

Remove .update.virus.scanners to email me,
NO SPAM and NO VIRUSES!!!
Jul 20 '05 #2
Steve Wright wrote:
I have a select box with a lot of entries in it, some of which start with
the same letter.

I want the user to be able to type the first few letters into the select
box and have the list "move" to the appropriate place.

any one know how to achieve this?


Install Mozilla, it does this by default.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Ang Talunin | last post: by
5 posts views Thread by Brian Foley | last post: by
6 posts views Thread by Chris Fink | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.