Scenario:
My_Object = {
my_div: "#mydiv",
my_method: function()
{
$(this.my_div).fadeOut("slow", function() { $(this.my_div).fadeIn("slow"); });
}
}
'this.my_div' is not being recognized in the fadeIn call, as 'this' doest point to the original object anymore. How to I pass the original object to the callback function?