Re: Drop-down menus
| From: | (Stas Trefilov) | Date: | Sat, 06 Jan 2001 09:54:26 +0000 |
| Subject: | Re: Drop-down menus | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-5742@lists.php.net to get a copy of this message | ||
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