Some beginner questions

2000-05-31 Thread Cristi
Hello there. If anyone can find some time... 1) Can I call a JavaScript function from CF? Smth. like where f is a JavaScript function. I tried , but it didn't work. 2) How do I manage strings containing special characters as dbl. quote (i.e. ") Should I prefix

RE: Some beginner questions

2000-05-31 Thread Philip Arnold - ASP
> 1) Can I call a JavaScript function from CF? > Smth. like > > where f is a JavaScript function. > > I tried , 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

Re: Some beginner questions

2000-05-31 Thread Jennifer
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 > > where f is a JavaScript function. > > I tried , but it didn't work. Try putting f(y) in quotes Should I prefix th

RE: Some beginner questions

2000-05-31 Thread Pablo Nevares
> 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... http://www.whatever.com/index.cfm?node=

RE: Some beginner questions

2000-05-31 Thread Dave Watts
> 1) Can I call a JavaScript function from CF? > Smth. like > where f is a JavaScript function. > I tried , 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 the client, where any Jav

Re: Some beginner questions

2000-05-31 Thread KChapman
st.ro>cc: Subject: Some beginner questions 05/31/00 07:50 AM

RE: Some beginner questions

2000-05-31 Thread mherbene
re CGI.query_string: if you know the field name, the value is in the variable named cgi.your_field_name -Original Message- From: Jennifer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 30, 2000 1:06 PM To: [EMAIL PROTECTED] Subject: Re: Some beginner questions At 05:50 PM 5/31/00

RE: Some beginner questions

2000-05-31 Thread Larry Meadors
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=5&a=6&a=7 Wh

Re: Some beginner questions

2000-05-31 Thread Bud
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 > > s

Re: Some beginner questions

2000-05-31 Thread John Westerlund
> 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 IF url = http://www.cfmaniacs.com?name=bob&car=ferrarri&license=IBR8K4CF THEN DO Hi #name#. You drive a #car# with the lice