Re: Dynamic Form
| From: | Jason Brooke | Date: | Wed, 12 Sep 2001 22:58:31 +0000 |
| Subject: | Re: Dynamic Form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67098@lists.php.net to get a copy of this message | ||
> Hell0,
>
> I have a MySql database with 3 columns. The first column is "id" second
> is "name" and third is "value", I have two drop-down lists, with the
> first filled with an array from the column "name". I would like for the
> second drop-down list be changed according to the "value" of what has
> been selected in the first drop-down list.
> I have fill that I'm going in the right direction, but have run into a
> wall. Can anyone give me some advice in doing this miraculous feat?
>
> Thanks,
>
> Jared
Javascript, basically.
Lookup the javascript event handlers, properties, and methods - 'onchange'
and 'select' would possibly be the key ones in this situation.
jason