Is it CF8? ReturnType was added in CF8. On Fri, Jun 5, 2009 at 11:13 PM, Rick Faircloth<[email protected]> wrote: > > Before I get into code, I thought I'd just ask if there is a usual reason > why a jquery ajax function > (which I have used successfully on other sites) would be returning this > mesage in Firebug: > > > <wddxPacket version='1.0'><header/><data><struct><var > name='LOGIN'><string>Login Successful</string> > </var></struct></data></wddxPacket> > > Instead of the json formatted data I'm expecting? > Is is something typical and obvious usually? > > If not, I'll start supplying code. > > Well, I will share this much to get started so you'll see that json is > specified as the returntype and dataType: > > $.ajax ({ cache: false, > type: "post", > url: > "components/siteManagerData.cfc?method=mGetManagerPermissions&returntype=json", > dataType: "json", > data: values, > success: function(response){ > > Thanks for any feedback. > > Rick > > ---------------------------------------------------------------------------------------------------------------------------------------- > "Ninety percent of the politicians give the other ten percent a bad > reputation." Henry Kissinger > > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323220 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

