+1 to Rick's +1 to Michael's suggestion.

One of the great things about CF is the cfc's can automatically return
arrays in JSON format that jQuery can consume.  Like so:

<cffunction name="default" returntype="Array" returnformat="JSON" >

I can tell you first hand that formatting JSON by hand from a data structure
like a query can be a total PITA. So in that respect, returnformat="JSON" is
a Godsend for AJAX development.

As far as Ajax tutes go, the documentation on the jQuery site for it's AJAX
features is a great place to start

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

Also, the docs on CFSelect and cfinput that use the bind attribute is also a
great place to start.

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_r-s_14.html

CF takes a LOT of the grunt work out of working with AJAXish functionality.

HTH,
G!


On Sat, Jan 29, 2011 at 10:06 AM, Rick Faircloth
<[email protected]>wrote:

>
> +1
>
> -----Original Message-----
> From: Michael Grant [mailto:[email protected]]
> Sent: Friday, January 28, 2011 7:39 PM
> To: cf-talk
> Subject: Re: ajax tutorials for form objects
>
>
> I generally prefer to use JQuery over CF's built in stuff. I find it to be
> more steamlined. Plus I think you can probably find more tuts for the
> JQuery
> approach.
>
> This tut has a nice approach and actually explains ajax a bit. Might be a
> good start: http://articles.sitepoint.com/article/ajax-jquery
> Ofcourse the JQuery website has great api docs.
>
>
>
> On Fri, Jan 28, 2011 at 2:21 PM, Teed Younger
> <[email protected]>wrote:
>
> >
> > Hi, once again seeking some advice/help with a project. Can anyone direct
> > me to a good ajax tutorial that covers how to take form inputs/values and
> > then display results using an click event.
> >
> > What I have is a form with only two inputs. The user types in numeric
> > values in each form field, then several mathmatical calculations are
> > performed and the results are shown.
> >
> > Anyway, still very new to ajax, and not even sure I can do this with just
> a
> > simple ajax script, but any nudges in the right direction would be
> greatly
> > appreciated.
> >
> >
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:341698
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to