Whisper
Jun 13th, 2002, 03:09 PM
Here's one for ya:
I have a textbox and a drop-down menu used for a browser-based 'search' application.
I want the user to be able to type in text in the textbox, and have the drop-down menu repopulated on each keypress (by data pulled from a database)
example: there are 10 B words in the database. if the user types B, all the words will pop up in the drop-down. If the user types Br, only the words starting with (or containing) BR will be in the drop-down... get it?
i'm using coldfusion to do the database query (select * from TABLE where WORD LIKE [form.textbox]
ANY IDEAS???
:confused:
I have a textbox and a drop-down menu used for a browser-based 'search' application.
I want the user to be able to type in text in the textbox, and have the drop-down menu repopulated on each keypress (by data pulled from a database)
example: there are 10 B words in the database. if the user types B, all the words will pop up in the drop-down. If the user types Br, only the words starting with (or containing) BR will be in the drop-down... get it?
i'm using coldfusion to do the database query (select * from TABLE where WORD LIKE [form.textbox]
ANY IDEAS???
:confused: