Which is the "checked" property of the check box object, right? that's the problem with javascript, I always get bogged down on the property names, browser compatibilities, etc.
On 4/13/07, Nick McClure <[EMAIL PROTECTED]> wrote: > > 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? > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Macromedia ColdFusion MX7 Upgrade to MX7 & experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:232471 Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
