If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > drop down list box

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-21-02, 13:13
LadyTJo LadyTJo is offline
Registered User
 
Join Date: Jul 2002
Posts: 5
Question drop down list box

We are using drop down list box to choose an employee name, when we type in a letter it goes to the first name that begins with that letter, but we want the user to be able to type in more than one letter to narrow the list.

For example if trying to find Jones, the user could type in Jo and it would go to the first name that starts with Jo. The way it works now if they type Jo it first goes to the first name that starts with J then to the first name that starts with O.

How can we do this using HTML, ASP, or JavaScript?
Reply With Quote
  #2 (permalink)  
Old 11-22-02, 07:27
Mulligan Mulligan is offline
Registered User
 
Join Date: Jul 2002
Posts: 55
As far as I know (but please, someone tell me otherwise - I've just never found a fix) you can't. A restriction of the way browsers render and handle <select /> boxes stops this from happening. You might be able to do something with JavaScript and a text box which tries to select the first matching record in your <select /> when something is typed into the text box...
Reply With Quote
  #3 (permalink)  
Old 11-22-02, 12:27
hellur hellur is offline
Registered User
 
Join Date: Nov 2002
Posts: 10
Why not just place a empty form so they can search or something!

well I never found any thing you want in asp... well maybe you can write a c++ dll thats make it or something or maybe vb scripts forms can make it dont know but dont think so!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On