> 1) Can I call a JavaScript function from CF?
>       Smth. like <CFSET x = f(y)>
>
>       where f is a JavaScript function.
>
>       I tried <CFSET x = f(y)>, but it didn't work.

Firstly, CF is SERVER-side, JavaScript is CLIENT-site, they are mutually
exclusive
Secondly, Why not write the code in CFScript and just run it on the
variable?
<CFScript>
y=y+10;
y=y*x;
y=y-z;
</CFScript>
Or whatever... but you can't create and call functions in CFScript.

> 2) How do I manage strings containing special characters as dbl.
> quote (i.e. ")
>       Should I prefix them with something.
>
>       I'd like to have an output like
>
>                       say "hello"

Double the quotes... <cfset s="say ""hello"""> or <cfset s="say
&quot;hello&quot;"> will display the quotes properly (older browsers dislike
" as an output)

> 3) How can I get the value of each field in a query string?
>       I know the #cgi.query_string# which returns the entire
> query string, but I
> want to access specific fields

#myQuery.ColumnList# is a comma separated list of the fields called in a
query, note that
select * from myTable
fields will be in the order that CF decides.

Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
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