Re: PHP, SQL, AJAX, JS and populating a SelectBox?

From: Date: Sat, 18 Mar 2006 21:02:19 +0000
Subject: Re: PHP, SQL, AJAX, JS and populating a SelectBox?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-232197@lists.php.net to get a copy of this message
I need to dynamically update a select box with results from a SQL database using AJAX, but I can't find a single example of how to do this. Basically I have a text input field, and a select box. As someone types in the input field, I want the select box to fill in the results of matches. I can fill in a <DIV> (as per the ten million examples out there) and that's all fine and dandy, but way too simplistic for what I need.
Select Box? Do you mean a Selection List, that will change as the user types in an input field like this: http://www.itsyourdomain.com/ Just type domain name into the search box -- is that what you're looking for? tedd -- -------------------------------------------------------------------------------- http://sperling.com

« previous php.general (#232197) next »