Hello Jack,

 

Well  I want to get the scope of the calling object that the function
resides in. I have multiple instances of this object:

 

someObj = {

 

getData: function(){

            

            //cfAjax request starts here

            

}

,

 

dataResult: function(data){

            // handle result from cfAjax here

}

 

}

 

a = new someObj()

b = new someObj()

 

// call getData on 'a' instance

a.getData();

 

This is where I want the cfAjax callback to be within the scope of the 'a'
object or at least somehow get a reference to 'a'. How do I do that?

 

BrookD

 

 

Reply via email to