Hey guys. I have something kinda funky happening to me. I'm generating the code
for some stuff and I'm making a link to a cfwindow. But when the page is made
the link for the window is all sorts of messed up. I'm sure it has to do with
escaping the single quotes but I've tried a bunch of different variations and
none have worked. Idas?
This code:
<cfset noteCell = "<div class='noteCell'><span
class='noteInfo'>#getNotes.user# #getNotes.timeStamp#
<a
href='javascript:ColdFusion.Window.show(''ReplyToNote#getNotes.id#'')'>Reply</a></span></div>">
Generates this link:
<div class="noteCell">
<span class="noteInfo">
cameron 10/21/09 11:23 AM
<a )="" replytonote26="" href="javascript:ColdFusion.Window.show(">Reply</a>
</span>
<br/>
</div>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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-newbie/message.cfm/messageid:4853
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15