Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Typing in a select box

Status
Not open for further replies.

welshone

Programmer
Jul 30, 2001
414
GB
Hello,

I have a select box, that a choose school names from.
I was wondering if I could make this select box 'intelligent'.

at present if I type DAVID, it firstly jumps to the school beginning with D, then A, then V and so on,
how can I make the select box so when I type DAVID it goes to the school DAVID. ?

I have noticed on some computers IE already does this, is there a setting I could change, or do I need to code ?



<Select name = &quot;establishments&quot;>
<option selected>--Select Establishment--

<% While Not RScompany.EOF
%>
<option style=&quot;color:black&quot; value=&quot;<%=RScompany(&quot;EstablishmentID&quot;)%>&quot;>


<%=RScompany.Fields(&quot;EstablishmentName&quot;)%>

<%
RScompany.MoveNext
Wend
%>

</select>

thank you in advance.
 
I guess you might be able to do so with Java Scripting, but there is no siple way of doing so. What you see are custom components that won't work on your website.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top