PHP, SQL, AJAX, JS and populating a SelectBox?
| From: | Daevid Vincent | Date: | Sat, 18 Mar 2006 02:42:38 +0000 |
| Subject: | PHP, SQL, AJAX, JS and populating a SelectBox? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-232174@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.