php-db | 2001011
Date: 01/09/01
- Next message: Stas Trefilov: "Re: [PHP-DB] Problem with composed queries (eg UNION, INTERSECT ..) and PHP"
- Previous message: Stas Trefilov: "Re: [PHP-DB] Php, MySql dynamic creation of dropdown list"
- In reply to: Julio Cuz, Jr.: "[PHP-DB] Drop-down menus"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, "Julio Cuz, Jr."!
You wrote:
> Hi--
>
> Let's say I have two (2) drop down menus (time-in &
> time-out, for example),
> each one has the same options (7:00 a.m., 7:30 a.m., 8:00
> a.m., 8:30 a.m,
> 9:00 a.m., so on...).
Say this is your html:
<SELECT NAME=time_from>
<OPTION VALUE=0700>7:00<OPTION>
...
</SELECT>
<SELECT NAME=time_to>
<OPTION VALUE=0700>7:00<OPTION>
...
</SELECT>
so you got to add this onChange construction to your 1st
SELECT tag:
onChange = "time_to.value = this.value"
-- Piloteers do it on the road-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Stas Trefilov: "Re: [PHP-DB] Problem with composed queries (eg UNION, INTERSECT ..) and PHP"
- Previous message: Stas Trefilov: "Re: [PHP-DB] Php, MySql dynamic creation of dropdown list"
- In reply to: Julio Cuz, Jr.: "[PHP-DB] Drop-down menus"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

