House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

javascript escape sequence problem

  << Previous Post |  RSS |  Tree View |  Sort Oldest First |  Subscribe to this Group Next >> 

javascript escape sequence problem

I'm going to try that now. thx Gilbert Midonnet 12/20/2001 11:45 AM
If I read it correctly the only thing you are asking cf to do is urlencode a Don Vawter 12/20/2001 11:39 AM
yes, the js is inside of a <cfoutput> -- and no, the double quotes Gilbert Midonnet 12/20/2001 11:24 AM
Your double quotes inside of your pound signs should not make a difference BILLY CRAVENS 12/20/2001 10:56 AM
I have a javascript that I'm trying to embed some CF into Gilbert Midonnet 12/20/2001 10:47 AM

12/20/2001 11:45 AM
Author: Gilbert Midonnet Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:8599#42107 I'm going to try that now. thx Just looked it up in the rhino book -- looks like it might do the trick. -- glm If I read it correctly the only thing you are asking cf to do is urlencode a string. Why not just use the javascript function "escape" which is equivalent? ----- Excess quoted text cut - see Original Post for more ----- 'aaa/bbb.cfm?PDFPath=#URLEncodedFormat("ccc/ddd")#&PDFName=#URLEncod ----- Excess quoted text cut - see Original Post for more ----- across ----- Excess quoted text cut - see Original Post for more ----- ------------------------------------------------------------------------ ----- Excess quoted text cut - see Original Post for more ----- or ----- Excess quoted text cut - see Original Post for more ----- must > not, > > directly or indirectly, > > use, disclose, distribute, print, or copy any part of this message if ----- Excess quoted text cut - see Original Post for more ----- ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server   PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER   Instant Activation · $99/Month · Free Setup   http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
12/20/2001 11:39 AM
Author: Don Vawter Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:8599#42106 If I read it correctly the only thing you are asking cf to do is urlencode a string. Why not just use the javascript function "escape" which is equivalent? ----- Excess quoted text cut - see Original Post for more ----- ______________________________________________________________________ Dedicated Windows 2000 Server   PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER   Instant Activation · $99/Month · Free Setup   http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
12/20/2001 11:24 AM
Author: Gilbert Midonnet Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:8599#42105 yes, the js is inside of a <cfoutput> -- and no, the double quotes should not make a difference. Your double quotes inside of your pound signs should not make a difference if they're part of a function.  Is the JavaScript nested inside of a CFOUTPUT? --- Billy Cravens ----- Excess quoted text cut - see Original Post for more ----- 'aaa/bbb.cfm?PDFPath=#URLEncodedFormat("ccc/ddd")#&PDFName=#URLEncod edFormat ----- Excess quoted text cut - see Original Post for more ----- ccc/ddd. > If I leave it, it doesn't. ????  But it works elsewhere > > var cellStart = '<a href="'; > > I've tried every combination I can think of. Has anybody come across a ----- Excess quoted text cut - see Original Post for more ----- ------------------------------------------------------------------------ -- -- > ---------------------------------------------------- > This message is for the named person's use only. It may contain > confidential, proprietary or legally > privileged information. No confidentiality or privilege is waived or lost by > any mistransmission. If > you receive this message in error, please immediately delete it and all > copies of it from your > system, destroy any hard copies of it and notify the sender. You must not, > directly or indirectly, > use, disclose, distribute, print, or copy any part of this message if you > are not the intended > recipient. > > > > ______________________________________________________________________ Why Share?   Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER   Instant Activation · $99/Month · Free Setup   http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
12/20/2001 10:56 AM
Author: BILLY CRAVENS Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:8599#42098 Your double quotes inside of your pound signs should not make a difference if they're part of a function.  Is the JavaScript nested inside of a CFOUTPUT? --- Billy Cravens ----- Excess quoted text cut - see Original Post for more ----- 'aaa/bbb.cfm?PDFPath=#URLEncodedFormat("ccc/ddd")#&PDFName=#URLEncodedFormat ----- Excess quoted text cut - see Original Post for more ----- ccc/ddd. ----- Excess quoted text cut - see Original Post for more ----- -- > ---------------------------------------------------- > This message is for the named person's use only. It may contain > confidential, proprietary or legally > privileged information. No confidentiality or privilege is waived or lost by ----- Excess quoted text cut - see Original Post for more ----- ______________________________________________________________________ Why Share?   Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER   Instant Activation · $99/Month · Free Setup   http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
12/20/2001 10:47 AM
Author: Gilbert Midonnet Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:8599#42097 I have a javascript that I'm trying to embed some CF into its an if-else if a   {   cellStart + ahrefStart + 'summary' + getYear + '_' + getMonth + '_' + ...   } I want to add a piece of code [see below] var encodeStart = 'aaa/bbb.cfm?PDFPath=#URLEncodedFormat("ccc/ddd")#&PDFName=#URLEncodedFormat ("eee.pdf") '; and make the new statement: if a   {   cellstart + ahrefStart + encodeStart + 'summary' + getYear + '_' + getMonth + '_' + ...   } however it's not reading correctly. If I remove the " it reads the ccc/ddd. If I leave it, it doesn't. ????  But it works elsewhere var cellStart = '<a href="'; I've tried every combination I can think of. Has anybody come across a problem like this? TIA gilbert midonnet ---------------------------------------------------------------------------- ---------------------------------------------------- This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server   PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER   Instant Activation · $99/Month · Free Setup   http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference