I added two simple examples of ajaxCFC:
Echo example sends a string to the server, which just echoes it back to JavaScript and gets appended in a Div.
Complex object example uses the exact same code as echo, but this time it seamlessly receives a complex object from JavaScript and echoes it back. I used sDumper.js to dump the object into screen.
The component is extremely simple, all you have to do is extend ajax.cfc and you’re in business.
<cfcomponent extends="ajax">
<cffunction name="echo" output="no" access="private">
<cfargument name="args">
<cfreturn args [1] />
</cffunction>
</cfcomponent>
I tested this code with I.E 5.5, I.E 6, Netscape 7.2, FF 1.0+, FF 1.5, and Safari.
I will add more examples and add some documentation this weekend. I updated the zip file to include these examples as well.