goal: pass cfc's simple result value back to caller page and set the page's 
hidden field of 'uid' with this value.

method: cfajaxproxy, cfc and js class library
js code snip:
function Save(frm){
        var d = new doSave();
        d.setForm(frm);
        d.setHTTPMethod('POST')
        d.doSave(); // and return the inserted uid
        d.setCallbackHandler(passIdOn);
}

function passIdOn(id) {
 document.getElementById('uid').innertHTML = id;
}

problem:
a) IE7 complains about internal server error
b) FF2 fails without error

What am I not doing right?

Thanks.

P.S. bear in mind everything works fine save the setCallbackHandler part...



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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302265
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