Hi All,
I know this is coldfusion forum, but can any one tell me what I am missing to
make the fileName get within quotes in javascript. I am getting everything
right except in callURL, the fileName is sent as argument, but the real value
is not enclosed within quotes. I tried different
I think this'll work:
callURL = a href='##' onClick='javascript:return
parent.frames[1].XYZ(\fileName\)'Link1/a;
On Thu, Apr 15, 2010 at 3:58 PM, fun and learning
funandlrnn...@gmail.comwrote:
callURL = a href='##' onClick='javascript:return parent.frames[1].XYZ(
+ fileName + )'Link1/a;
callURL = a href='##' onClick='javascript:return parent.frames[1].XYZ(\ +
fileName + \)'Link1/a;
On 4/15/2010 4:58 PM, fun and learning wrote:
Hi All,
I know this is coldfusion forum, but can any one tell me what I am missing to
make the fileName get within quotes in javascript. I am
I think this'll work:
callURL = a href='##' onClick='javascript:return
parent.frames[1].XYZ(\fileName\)'Link1/a;
On Thu, Apr 15, 2010 at 3:58 PM, fun and learning
funandlrnn...@gmail.comwrote:
callURL = a href='##' onClick='javascript:return parent.frames[1].XYZ(
+ fileName + )'Link1/a;
callURL = a href='##' onClick='javascript:return parent.frames[1].
XYZ(\ + fileName + \)'Link1/a;
Does not work..Shows syntax error.
On 4/15/2010 4:58 PM, fun and learning wrote:
Hi All,
I know this is coldfusion forum, but can any one tell me what I am
missing to make the
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.comwrote:
I think this'll work:
callURL = a href='##' onClick='javascript:return
This works for me:
function jscript1(){
var theString = screen1.cfm;
var fileName = theString.substring(0,theString.lastIndexOf(.));
callURL = a href=\##\ onclick=\javascript:return
parent.frames[1].XYZ(\' + fileName + \')\Link1/a;
alert(callURL);
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.comwrote:
Nope, it displays the following
a href='##' onClick='javascript:return
Hey Jason,
It works for me too...Thanks a lot...
On Thu, Apr 15, 2010 at 5:29 PM, Jason Fisher ja...@wanax.com wrote:
This works for me:
function jscript1(){
var theString = screen1.cfm;
var fileName = theString.substring(0,theString.lastIndexOf(.));
jsStringFormat() the callURL. It will take care of escaping everything
correctly.
-Original Message-
From: fun and learning [mailto:funandlrnn...@gmail.com]
Sent: Thursday, April 15, 2010 5:26 PM
To: cf-talk
Subject: Re: what is wrong with this code
Oops, put the +'s back in:
callURL
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
There is something wrong with this code (other than it's overly complex...),
but I can't see it. Every time I run this code I get an anit.exe process
that goes to 99%, but, and here is the weird part, the CF template does stop
processing and I get all of the debug except for the queries...weird.
argh neither of those work, please ignore, unless you can tell me what I am
doing wrong :). Sorry for the spam.
- Original Message -
From: Jon Hall [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, March 22, 2002 8:49 PM
Subject: What is wrong with this code
13 matches
Mail list logo