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
At 05:50 PM 5/31/00 +0300, you wrote:
Hello there.
If anyone can find some time...
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.
Try putting f(y) in quotes cfset
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
#url.login# will give you the value of "login" in the url
for example, in...
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.
No, you can't directly call a JavaScript function from CF; CF generates
documents on the server, which are then sent back to
1. Don't Know.
2. As far as I know you should be able to use almost anything in the data
except #'s.
3. Just use the name of the field you want. IE:
If cfoutput#query_string#/cfoutput is ?cfid=1234cftoken=76323661
Then to access just the pieces you would
cfoutput
cfid = #cfid#br
cftoken =
: Some beginner questions
At 05:50 PM 5/31/00 +0300, you wrote:
Hello there.
If anyone can find some time...
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.
Try
One thing to add/correct from Philip's response:
#cgi.query_string# contains url parameters.
You can reference those as url.variablename (or just variablename) to get the values
most of the time.
One exception to look out for on that is if you have a url like this:
index.cfm?a=5a=6a=7
On 5/31/00, Cristi penned:
If anyone can find some time...
Can't answer the javascript question.
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
8 matches
Mail list logo