Save yourself some trouble and use CF8's <cfajaxproxy> tag. MX and older 
versions return wddx and CF_AJAX is a good solution if you can't get the latest 
copy but when all you need is the following:

        <cfajaximport tags="cfajaxproxy">

        <cfajaxproxy
                cfc = "image"
                jsclassname = "getrow">

function returnstuff(id)
{
                var x = new getrow();
                x.setHTTPMethod("post");
                var get_struct = x.getrecord(id);

}


It returns a structure in JSON without the heavy load of an additional 
component to parse wddx. Don;t get me wrong, JQuery rocks! 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316433
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to