Re: question (as if anything else would be in an email to the list...)
| From: | Alex Black | Date: | Thu, 18 Jan 2001 21:44:59 +0000 |
| Subject: | Re: question (as if anything else would be in an email to the list...) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35457@lists.php.net to get a copy of this message | ||
that's the MS debugger being bitchy. as far as I know that's a) legal and
b)useful.
then again, in the context of what you're doing, why not just build in a
little php logic that knows if your select is a certain value, something
else should happen?
note that onChange may only be associated with the <select> element, not the
<option> element.
-alex
--
Alex Black, Head Monkey
enigma@turingstudio.com
The Turing Studio, Inc.
http://www.turingstudio.com
vox+510.666.0074
fax+510.666.0093
Saul Zaentz Film Center
2600 Tenth St Suite 433
Berkeley, CA 94710-2522
> From: jason@factory7.com ("Jason Jacobs")
> Newsgroups: php.general
> Date: 18 Jan 2001 13:29:29 -0800
> Subject: [PHP] question (as if anything else would be in an email to the
> list...)
>
> Hi again. I have a new problem. I have a form with a drop down list. When
> the user chooses something from the list, I need a variable to change values
> so it can be used upon submission of the form. I thought maybe I could
> throw a little line of code into an onChange() function in the <select >
> tag, but I got the MS Debugger thrown up on me. Anyone got an idea of how
> to do this? Is it possible to call a javascript function and change the
> variable in there? Or an easier way (like inline php code...)? Thanks
>
> Jason
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>