Tony,

I think what your looking for is "serialize".

 data:$("data").serialize(),


On Thu, Apr 29, 2010 at 12:15 PM, Tony Bentley
<cascadefreehee...@gmail.com> wrote:
>
> I need to pass 4 arguments and for this purpose, lets use a,b,c,d
>
> var data = {"argumentCollection":{?????}};
>
>        $.ajax({
>                url: "cfc/mycfc.cfc?method=dbupdate",
>                dataType: 'json',
>                data: data,
>                type: 'post',
>                success: callBack
>        });
> Where data = ??? I know that when using the coldfusion ajax proxy I need to 
> pass argumentCollection as a parameter. Also, one of the arguments is an 
> object with different data types. (ie - a.string, a.int, a.boolean, etc)
>
> Obviously the 'data' variable is wrong. Has anyone been able to post data 
> using this method?
>
> 

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

Reply via email to