ditch the "" around price Bryan Stevenson VP & Director of E-Commerce Development Electric Edge Systems Group Inc. p. 250.920.8830 e. [EMAIL PROTECTED] --------------------------------------------------------- Allaire Alliance Partner www.allaire.com
----- Original Message ----- From: "Douglas L. Brown" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, November 22, 2001 10:55 AM Subject: Re: innerHTML > Well it is a JS variable, how would this be accomplished? > > > DB > > > ----- Original Message ----- > From: "Bryan Stevenson" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Thursday, November 22, 2001 10:45 AM > Subject: Re: innerHTML > > > > Well for starters innerHTML only works in IE :-( > > > > Is "price" a CF variable or a JavaScript variable? If it's CF then you > > need the good old #price# in there. You can also ditch the = ("price"); > and > > make it = "#price#"; > > > > HTH > > > > Bryan Stevenson > > VP & Director of E-Commerce Development > > Electric Edge Systems Group Inc. > > p. 250.920.8830 > > e. [EMAIL PROTECTED] > > --------------------------------------------------------- > > Allaire Alliance Partner > > www.allaire.com > > > > ----- Original Message ----- > > From: "Douglas L. Brown" <[EMAIL PROTECTED]> > > To: "CF-Talk" <[EMAIL PROTECTED]> > > Sent: Thursday, November 22, 2001 10:43 AM > > Subject: OT: innerHTML > > > > > > > I have a script that calculates "price" and I need it to set the > > > innerHTML of a tag, I thought I could just say > > > > > > show_price_top.innerHTML = (price); > > > > > > but that dont work, It works if I just say > > > > > > show_price_top.innerHTML = ("price"); > > > > > > but it just puts the string value of "price" in the field > > > > > > Here is the field. > > > > > > <span class="showPrice"><B NAME="show_price_top" > > > ID="show_price_top"></B></span> > > > > > > > > > > > > > > > Can someone help? > > > > > > > > > > > > > > > <CF_SIGNATURE > > > NAME="Douglas L. Brown" > > > EMAIL="[EMAIL PROTECTED]" > > > PHONE="714.538.6611" > > > WEB="http://www.carnivorepc.com"> > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists