With JQuery:

var post_data = $('#myform').serializeArray();

$.post('/mycfpage',post_data,function(data){
    //do stuff with JSON data here
    var name = data.name;
    var value = data.value;
    
    //then manipulate the DOM from there
    
},'json');




On April 7, 2015 at 11:55:47 AM, Robert Harrison (rharri...@aimg.com) wrote:


I'm sending an Ajax post to a CF page. The post data looks like (below) in 
the counsel: 



Object {name: "rid", value: "1"} 



How in the heck to I get that value on the ColdFusion page? 





Robert Harrison 
Full Stack Developer 
AIMG 
<mailto:rharri...@aimg.com> rharri...@aimg.com 
Main Office: 704-321-1234 ext.118 
Direct Line: 516-302-4345 
<http://www.aimg.com/> www.aimg.com 











~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360415
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to