DropDown List

Discussion in 'Databases' started by pwtucker, Oct 7, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I would like for this drop down box to be blank when the page is loaded. What is the easies way to accomplish this. This has to be easy and I am just making it hard. Here is my code. Thanks for the help.

    Do while NOT rsLightNo.eof
    Response.Write "<OPTION VALUE = '" & rsLightNo("LightNumber") & "' SELECTED>"
    Response.Write rsLightNo("LightNumber") & "</Option>"
    rsLightNo.MoveNext

    Thanks,
    Paul[:)]
     
  2. Okay...I was right. I was making it to hard, but I do have another question. I noticed in asp/html that you can not type in the drop down boxes. Is there away around this? I have a rather lengthy drop down that I would like the user to be able to type in to narrow the list down to where they want to go. Any advice would be great.

    Thanks,
    Paul
     
  3. there is no manner to do this very easily I'm affraid. If you want the user to type in several characters and let him jump into the dropdownlist to his selection, you will have to do some client side scripting. Try google to find yourself a solution for this.
    However, if 1 character is sufficient to jump to (the first character of the selection), then no scripting is needed !
    Just select the dropdownlist, type in the first character and you will jump to the first option with this character.

    --
    Steurm
    www.steurm.net/steurm
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page