It's covered here:
http://training.figleaf.com/curriculum/cfjqm.cfm
On Thu, Dec 5, 2013 at 1:57 PM, Wilson, Brooks brooks.wil...@atl.frb.orgwrote:
Greetings:
I’m beginning to think it isn’t possible for CF 9.01 to return JSONP? I am
using jQuery 1.10.2 on a client to request a JSONP
Try this:
cffunction name=getDataJSONP
access=remote
returntype=string
output=false
returnformat=plain
*cfargument name=callback type=string required=yes*
* cfset local.q = cfquery name=local.q*
* select firstname, lastname*
* from people*
*/cfquery*
*cfreturn arguments.callback * *(
...@atl.frb.org
From: ad...@acfug.org [mailto:ad...@acfug.org] On Behalf Of Steve Drucker
Sent: Thursday, December 05, 2013 2:04 PM
To: discussion@acfug.org
Subject: Re: [ACFUG Discuss] Returning JSONP with Coldfusion 9 cfc
Try this:
cffunction name=getDataJSONP
access=remote
returntype=string
output