Can you explain what you mean by your tech guy that it will not work? That was a very common problem with CF MX 7, and the only solution is to intercept the returned data as Ray as already probably shown you, before passing the Json string.
I worked on this same problem when working on ExtJS and Ajax calls, and was able to do the same thing by removing the meta tag before parsing the string into Json. So unless there is something else now wrong, you may need to share more information to your problem. -- Regards, Andrew Scott WebSite: http://www.andyscott.id.au/ Google+: http://plus.google.com/113032480415921517411 On Wed, Nov 21, 2012 at 10:08 AM, Mo Lay <[email protected]> wrote: > > Hi Ray, > i stopped working on it as i was told by one of our Tech guys... that it > will not work as soon as i'am on dev env. explaining that tag error i was > getting preventing me to test on dev. > So now i am trying to figure out how to test that in another-way. > > > Thanks > > > > >That function works as a "setup" for Ajax calls. You can think of it as > >doing this: > > > >"Every single time I do an Ajax call, I want you to modify the result > >before you work with it." > > > >In my blog post, the modification was to remove the beginning of the > string. > > > >In your case, you have a block of XML you want to remove. > > > >Before I go any further, do you get this aspect so far? > > > > > > > > > > > >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5994 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
