Re: getting the value of a javascript variable
| From: | BB | Date: | Mon, 24 Jun 2002 08:38:24 +0000 |
| Subject: | Re: getting the value of a javascript variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103545@lists.php.net to get a copy of this message | ||
http://www.mattkruse.com/javascript/dynamicoptionlist/source.html
hope this helps
"Otteneder Hermann" <H.Otteneder@gerstl.at> wrote in message
news:633EEEA0CCF00142822AC80312D4720B897C@saphir.gerstl.at...
hi everybody,
i have a short problem:
i have two drop down menues in a form. the content of the second dropdown is
dependent from the selection in the first dropdown menue. now i want write a
short javascript which runs on the onSelect - event of the first dropdown.
this script gives me the selected entry of the first dropdown menue. now i
have to give this value somehow into the PHP-environment for a DB-Query.
The feched data i want dynamically fill into the second dropdown. But how do
I get the value from the javascript variable into the php environment
without an submit of the form?? has enybody a solution for this?
thanx so far - hermann...