views:

53

answers:

1

I am building an application and have a page with a bunch of select boxes where the user must set different options...

How do i show all the options that are available when the user tabs into the box? Currently i can tab into the box and start typing and it will search through the options, but it does not show the available ones.

Is there a javascript solution for this? I am using firefox.

Any help would be appreciated.

A: 

This may help you out - http://www.webreference.com/programming/javascript/gr/column5/ - Refer to the 'AutoComplete.prototype.onchange = function()' It seems to me if you called this (Customized to your uses of course) on the gotfocus event it should do what you want it to. Hope this helps.

NiRC
This isn't dealing with plain HTML `select` boxes, but with custom-made autocomplete input.
Marcel Korpel
Yeah i want to use it on a plain html select box.So far i have found nothing...
Cshantz
@Cshantz My bad, I thought you'd be able to pass it a select box as the oText object
NiRC