So then how would I reference an object with members? a.member, a.friend, etc.
I tried a:a and 'a':a but neither works. >I find that it's easier, and more self-documenting, to enumerate the >variables in data directly: > > $.ajax({ > url: "cfc/mycfc.cfc?method=dbupdate", > dataType: 'json', > data: { > a: 'andy', > b: 'bobby', > c: 'charlie', > d: 'devon' > }, > type: 'post', > success: callBack > }); > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:333242 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm