Or you can do

 

http://www.andyscott.id.au/2009/8/15/Using-Ajax-in-ColdFusion-is-simpler-tha
n-most-people-think

 

You don't always need to use jQuery either.

 

Regards,

Andrew Scott

http://www.andyscott.id.au/

 

 

 

 

From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf
Of Damen Hansen
Sent: Tuesday, 12 October 2010 10:06 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CF and Ajax

 

Hey Scott

I would recommend that you do use a library such as JQuery, it will take
away all of the fiddly browser concerns.

If they are yes no options, would a check box or radio buttons  be more
suitable?

Anyway...

You can do something like:

 

$('checkbox / radio  option selectors here').bind('click', function() {

    $.ajax({

        type: 'POST',

        url: url/to/yourDBUpdatepage.cfm,

        data: {checked state of this control}

        

    });

);

 

all the goodness is here

http://api.jquery.com/category/ajax/

 

Damen

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to