Do you mean, If CFSCRIPT 100% compatible w/ JavaScript? If so, the
answer is no. Things like object constructors:
var point = { x:0, y:9 };
are not possible in CFSCRIPT.
===
Raymond Camden, Principal Spectra Compliance
does anyone know if within a cfscript tag I can use full
Javascript or there are some restrictions regarding its synthax?
No, you can't use full JavaScript - in fact, you can't use any JavaScript
at all!
What you can use is CFSCRIPT, which follows the general syntax of
JavaScript, but
|pinner |middx |ha55qa
t +44(208)429 7333 f +44(208)429 7339 |www.ekeda.co.uk
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: 07 January 2002 14:06
To: CF-Talk
Subject: RE: Tag CFSCRIPT
does anyone know if within a cfscript tag I can use full
Javascript
, January 07, 2002 9:33 AM
To: CF-Talk
Subject: RE: Tag CFSCRIPT
I am aware of the differences between js and cfscript but is it not
possible to use writeoutput() to generate the javascript to
be sent to the
client
or would there be problems with the syntax being close to cfscript
: RE: Tag CFSCRIPT
As far as I know, as long as you watch your internal quotes and stuff,
writeoutput can display ANYTHING, period.
Ie, you only need to concern yourself if you want to output quotes:
writeOutput(Ray said, Welcome to );
Notice that I had to escape the quotes in the string
5 matches
Mail list logo