My brain is fried, it's late. I needed to escape the quotes, then terminate the string, then insert the variables, then restart the string, then escape the closing quotes: callURL = "<a href='##' onClick='javascript:return parent.frames[1].XYZ(\"" + fileName + "\")'>Link1</a>";
On Thu, Apr 15, 2010 at 4:26 PM, fun and learning <funandlrnn...@gmail.com>wrote: > > >Oops, put the +'s back in: > >callURL = "<a href='##' onClick='javascript:return > parent.frames[1].XYZ(\" > >+ fileName + \")'>Link1</a>"; > > > >On Thu, Apr 15, 2010 at 4:07 PM, fun and learning > ><funandlrnn...@gmail.com>wrote: > > > >> > > Nope, it displays the following > <a href='##' onClick='javascript:return parent.frames[1].XYZ(" > + fileName + ")'>Link1</a> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332936 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm