This quickstart guide demonstrates just how quickly and easily you can use the jQuery library with ColdFusion. (CFMX7)
The example seen above, uses the following:
How it works
A change event from a simple html form executes a jQuery function: $.ajax(). This triggers a POST type request to a server-side processing page: request_processor.cfm.
request_processor.cfm simply invokes menudata.cfc containing a database query (see below). The returned structure is encoded into JSON using cfjson.cfc, then sent back to the client-side requesting page for display.
menudata.cfc contains the following:
Hungry for more ColdFusion+jQuery Ajax?...
The example above, is simply to provide you the basic concepts of implementing ColdFusion+jQuery Ajax.
However, you can further optimize your implementation by using jQuery's $.get() or $.post(), or by using Rob Gonda's latest update on ajaxCFC. Rob's latest/upcoming update includes significant enhancements to support jQuery.
ColdFusion Developers: The jQuery Community Welcomes You!
In behalf of John Resig and the talented team behind the jQuery library, welcome!
Like the CF community, the jQuery community is made-up of many dedicated and loyal fans eager to help anyone who is new to jQuery. It is an active community that includes a growing number of ColdFusion notables.
this guide was prepared by: Michael E. Carluen on 01/08/2007 (email: mecarluen at 365labs dot com)