As far as passing args through the callback/success proces, I usually set a var before the ajaxCFC call and then use it inside the callback:

var yadda = 'ya';

and inside the callback:

if (yadda == 'ya')

Not sure what you mean about scope, though, but maybe you mean something like:

$myJqVar = $('#someDiv');

and inside the callback:

$myJqVar.html('something');

?

- Jack

Brook Davies wrote:

Can anyone who uses ajaxCFC tell me how to get a reference to the calling objects scope in the success handler? I can't figure out how to pass arguments through to the callback / success handler. Anyone?

FYI, I am using the jQuery version of ajaxCFC. Works awesome BTW...

BrookD.



Reply via email to