Animate Callback Parameter

Animate Callback Parameter


Hi,
I have:
$(this.ele).animate({top: destY+'px', opacity: 0}, 2000,
'',function(obj){alert(obj);});
inside of an object in my application... what I eventually want to do
is have the callback remove the element from the dom.
All that I seem to get back from the obj parameter is "undefined".
Hlp me please!
Scotty