For client side javascript
Converting between variables is usually the part that is most usefull.
ie
<cfset y = "Superman">
<script language="javascript">
 var x ;
 <cfoutput>
 x = #y#;
 </cfoutput>
</script>

Now the x variable in javascript equals Superman

<script language="javascript">
 var x = "Superman";
document.write("<cfset y = "+x+">");
</script>


The above does it the other way around.

If anybody knows a better way please explain.

----- Original Message -----
From: aslam bajaria <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 07, 2000 10:09 AM
Subject: JavaScript and CF


> Can someone plz let me know the best books and best
> website tutorials etc for learning JavaScript?
>
> Also, which versions are supported by CF and which are
> not?
>
> Appreciate.
> A.B.
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to