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
[EMAIL PROTECTED]

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: [EMAIL PROTECTED] ("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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to