Hmm.. Ok.. But when I do this, (changing the "formName" to the name of
the form, and the "dropName" to the name of the drop-down), it does not
seem to pass the value to the hidden field. Should I not create the
hidden field ahead of time?
Lee
> -----Original Message-----
> From: Alex [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 27, 2001 11:55 AM
> To: CF-Talk
> Subject: Re: OT: Ok.. JS gurus...
>
>
> onchange="addhide(document.formName.dropName.value);"
>
> function addhide(VAL){
> document.formName.hideName.value=VAL;
> document.formName.submit();
> }
>
> On Tue, 27 Nov 2001, Lee Fuller wrote:
>
> > Since we seem to be on the subject, I can't get anything to
> work, and
> > thought someone (prolly Dave <grin>) might have an answer
> for this...
> >
> > Need to include a drop-down in a form that, when changed
> (onchange),
> > will add a hidden field to the form, and submit it immediately.
> >
> > Send me somewhere to find it.. That's ok! ;) Just need to
> figure it
> > out.
> >
> > TTAIA
> >
> > Lee
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists