Rob,

Looking at your original post, the problem may be with the jQuery call. jQuery might be having a hard time figuring out what is coming back from the AJAX call. You might try one of two things:

1. Switch your $.ajax call to $.getJSON (although this will use a GET request instead of POST). 2. Add the dataType settings argument to your $.ajax call (dataType: "json").

HTH,
Carl

On 10/20/2010 12:04 PM, Rob wrote:
Thanks gents,

When I call from the browser, I get the same response - a WDDX packet
(renders so tantalizing in JSON in the browser).

Changing the output from true to false and back doesn't seem to have
any effect on the results.

I have other calls to CFC from JavaScript - using Rob Gonda's ajaxCFC,
and they return non-wddx responses (I don't understand all that he is
doing under the DWREngine).

What should I see in the response, just the JSON formatted string?

Rob

On Oct 20, 7:45 am, "Alan Williamson (aw2.0 ltd)"<[email protected]>
wrote:
ALso ... call it directly in your browser and see what is returned



Carl Von Stetten wrote:
Rob,
Since you are not outputting html with your component/function, try
setting output="false" on the<cffunction>  tag.

--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
official manual: http://www.openbluedragon.org/manual/
Ready2Run CFML http://www.openbluedragon.org/openbdjam/

mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to