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? On Tue, Nov 20, 2012 at 1:36 PM, Mo Lay <[email protected]> wrote: > > Hi Ray, > Simply i could not find where to put the statement to remove the 1st > double "//" as i do not see them. sorry iam lit bit lost here.. > > $.ajaxSetup({ > 11 dataFilter: function(data, type){ > 12 return data.substring(2, data.length); > 13 } > 14 }); > > > >Ok, I looked at your code, but I do not see where you followed my > >directions. The blog post I showed you demonstrated jQuery's ajaxSetup > >call. You didn't use it in your code. > > > > > >On Tue, Nov 20, 2012 at 1:25 PM, Raymond Camden <[email protected] > >wrote: > > > >>> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:5992 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
