>Total shot in the dark, but do you have cf debugging switched on? I've
>found that it interferes with Ajax calls in the past.
>
>
>On 19 November 2013 13:09, Steve 'Cutter' Blades <
>[email protected]> wrote:
>
>>

Ok I got it to work!!

I added:

&returnformat=plain to my method call
secureJSON = "yes" to my function

I also added this to my component:

<cfset this.secureJSON = true>
<cfset this.secureJSONPrefix = "//">


Of course I was still getting // prefix.

I googled secureJSON prefix and found this article:

http://www.raymondcamden.com/index.cfm/2011/11/8/Handling-JSON-with-prefixes-in-jQuery-and-jQueryUI

I added the data filter and it worked!




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:357116
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to