Rick,

 

You need both.  You use jQuery to send requests to a server side scripting
language like CF (or php, asp, cgi, etc) .

Perhaps the simplest way to introduce yourself to an "ajax" activity would
be to use jQuery's load() function.

 

Try this:

 

$("##displaycfoutput").load("mycfpage.cfm?param1=#something#&param2=#somethi
ngelse#");

 

On your mycfpage.cfm, put a database query using the URL vars your passed.

 

Hope that helps.

 

Michael

 

 

________________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rick Faircloth

Sent: Thursday, February 22, 2007 5:22 PM

To: 'jQuery Discussion.'

Subject: [jQuery] Best way to do AJAX... CF or jQuery?

 

A question for you CF & jQuery coders.

What's the best (easiest) way to work with AJAX?

ColdFusion or jQuery?

Why?

I would appreciate your insights.I haven't used AJAX, yet,

but I'm really interested in trying to figure it out.  It would

be especially useful in some of the web-based apps that I'm

building that would be used in place of traditional software.

Being able to avoid page changes and page refreshes would

go a long way in helping me sell people on the apps.

Rick

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to