hi all,
i'm having troubles accessing the 'caller object of an ajax post

for instance

function A ()
{
   this.avar;
}
A.prototype.myFun = function()
{
   this.avar; // no problem here

   $.post(url,data,callback)
  {
    this.avar; // here is the problem (a)
  }
}

a = new A;

---------

(a) can't access to 'this' obviously, any idea how i can do that
without using 'global' variables

ps: i think i post a message before i finished a little while ago ..
sorry about that =x

Reply via email to