Re: fireing function with onChange

From: Date: Thu, 10 Feb 2005 17:35:33 +0000
Subject: Re: fireing function with onChange
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-208458@lists.php.net to get a copy of this message
It was a shot in the dark. I've never done this before and didn't even know I could produce something this way. Are you being sarcastic and trying to tell me it cant be done? "John Nichel" <john@kegworks.com> wrote in message news:420B9800.50603@kegworks.com... > Aaron Todd wrote: >> I have a loop that is putting the filenames of files in a certain >> directory into a listbox. I am then using the onChange event of the >> listbox to fire a function. In this script the onchange event sends the >> function the path an filename of the chosen file from the list. I have >> tested what I am sending with a javascript alert and it looks ok. The >> funstion is supposed to open the file and then make a new file(im working >> with jpegs using GD). >> >> Unfortunately it isnt working the way I would want it to. Can soneone >> check this code and see if there is anything wrong. In the browser it >> doesnt do anything. I had hoped for at least an error code. >> >> Hope someone can help...Thanks > <snip code> > > So you're trying to call a custom php function with JavaScript? > > -- > John C. Nichel > ÜberGeek > KegWorks.com > 716.856.9675 > john@kegworks.com

« previous php.general (#208458) next »