Yeah, that event handler, but your code will need to be able to determine if
the box is currently checked to ensure the math is right.

> -----Original Message-----
> From: G Money [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 13, 2007 9:58 AM
> To: CF-Community
> Subject: Re: Select Box/Text Box
> 
> You do the same thing, just with a different event handler.....for
> checkboxes I think it's "onclick()"....?
> 
> On 4/13/07, John Eubanks <[EMAIL PROTECTED]> wrote:
> >
> > ><cfselect name="SAttending" style="background-color:FFFF99"
> > >onchange="this.form.STS.value =
> > >this.options[this.selectedIndex].value*545;">
> > >
> > >think that should do it.
> > >
> > >On 4/12/07, John Eubanks <[EMAIL PROTECTED]> wrote:
> > >>
> >
> > This worked great.  Thank you very much.  :-)  Now, another question.
> I
> > have a checkbox, that when checked should take a percentage off the
> amount
> > that shows up in the text box above.  Any suggestions?
> >
> >
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:232470
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to