On Wed, 21 Jan 2004 10:31:20 +0000 (UTC), Filiz Duman <no**@aol.com> wrote:
I was just wondering, is it possible to write into the drop down box in
order to jump to a specific item. The reason why I am asking is my drop
down box has many items and additionally to the scrolling down, it
would be good if the user can write into the box in order to get the
specific entry the list selected.
A SELECT element is a drop-down menu, or list box, only. You can only type
in INPUT and TEXTAREA boxes. In general, pressing a key in a drop-down
menu will take you to the first option that begins with that character[1].
The best you do, reliably, is make access easier for your users through
organisation. A couple of ideas...
- If possible, group items into catagories, and order them alphabetically,
numerically, or by some other logical order.
- If there are distinct groups, use two menus. The first should hold the
catagories. The second is then populated when a catagory is selected. This
can be done with JavaScript, but a non-JavaScript alternative (usually
implemented server-side) must be provided whenever possible[2].
Mike
[1] That isn't guaranteed behaviour.
[2] In fact, implementing this style *properly* could be quite involving.
--
Michael Winter
M.******@blueyonder.co.invalid (replace ".invalid" with ".uk" to reply)