> lename=' + escape(fields[n]), 'document',
'top=10,left=10,height=500,width=600,resizable=yes'); return false;"

----- Original Message -----
From: "Ian Skinner" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, April 14, 2004 8:24 AM
Subject: RE: onClick Nightmare!

> cfcoder
>
> I am trying to do this:
>
>
> lename="+escape(fields[n])','Document','top=10,left=10,height=500,width=600,
resizable=Yes');
> return false;"
>
>
>
> The first two problems I see is that the "+" operator is the concatenate
operator in _javascript_ the "&" operator is the concatenate operator in CFML,
so you will need to change the + to an &.  Secondly escape is a JS function
not a CFML function, I think the equivalent you need would be
urlEncodedFormat().  That should get you closer to your goal.
>
> HTH
>
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
> "C code. C code run. Run code run. Please!"
>      - Cynthia Dunning
>
>
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to