How to change combo style to drop down combo

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Matsam
    New Member
    • Jun 2007
    • 33

    How to change combo style to drop down combo

    Hi,

    In my ASP page, I hv a combo box that contains numerous items. Eventhough I have sorted it in alphabetical order, users find it difficult for selecting an item. ie, if they want to select an item starting with "MO..." they can type only "M" and after that they have to scroll down to reach "MO.."
    What I ment is, I want to change the combo style to "Dropdown Combo" as in VB (Instead of Dropdown List), so that the user can type any text in the combo and after that they can select an item.
    My code for creating combo is:
    <SELECT id=select3 style="WIDTH: 257px; HEIGHT: 22px"
    name=lstSource> <OPTION selected>All</OPTION>

    After this, I'm populating the combo from a record set.
    Plz help me.

    Thanks in advance

    Matsam
  • ilearneditonline
    Recognized Expert New Member
    • Jul 2007
    • 130

    #2
    Originally posted by Matsam
    My code for creating combo is:
    <SELECT id=select3 style="WIDTH: 257px; HEIGHT: 22px"
    name=lstSource> <OPTION selected>All</OPTION>

    After this, I'm populating the combo from a record set.
    Plz help me.

    Thanks in advance

    Matsam
    This is the only combo box I am aware of with HTML. And I have never had a combo box that had so much data that the users needed to worry about something like this. You could populate a javascript array and then use a textbox with a keypressed event to find possible matches.

    Comment

    Working...