On Tuesday, June 25, 2002, at 04:01 PM, Phillip S. Baker wrote:
> Yes I knew it was Javascript code, but I also thought PHP was needed to
> get the values from the DB.
> Either case I do need help with what the code might look like.
Okay, here it is... kinda complicated, but using this theory
AreaObject.options[1].value = "51";
///
AreaObject.selectedIndex = 0;
}
-Original Message-
From: Phillip S. Baker [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 4:02 PM
To: Leotta, Natalie (NCI/IMS); [EMAIL PROTECTED]
Subject: RE: [PHP] Menu Selecti
At 12:57 PM 6/25/2002 Tuesday, Leotta, Natalie (NCI/IMS) wrote:
>Unless you want to submit or use frames, you need to use JavaScript to
>populate the second dropdown based upon the value of the first one. PHP
>doesn't let you do this without the submit or frames because it's
>server-side, whereas
Unless you want to submit or use frames, you need to use JavaScript to
populate the second dropdown based upon the value of the first one. PHP
doesn't let you do this without the submit or frames because it's
server-side, whereas JS is client-side.
If you need any code let me know.
Good luck!
4 matches
Mail list logo