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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

no search results for drop down box

Status
Not open for further replies.

buzzybee

Programmer
May 23, 2001
17
US
i copied this into my head
<script>
function searchPrompt(obj)
{
var rsp = prompt(&quot;Enter a value to search for.&quot;,&quot;&quot;);
if(rsp) obj.value = rsp.toUpperCase();
}

</script>
then added this to my button
<input type=&quot;button&quot; value=&quot;Search this menu&quot; onclick=&quot;searchPrompt(this.form.txtstudent)&quot;>
i dont get an error, but when i type in a know value i dont get any results?
Sorry to be such a pest, i have ie 5
Amanda

 
be sure to trim the values if you are retrieving them from a databse. for instance, form the database it may be:

'ra1 '

but you are looking for:

'ra1'
jared@eae.net -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top