On Mon, Dec 21, 2009 at 11:01 PM, Jojje <[email protected]> wrote:
> oh ok :) Thanks for taking time to answer :)
>
> So now i got this, it works but it sends the ajax calls twice. is it
> maybe because i set the callback wrong? the callback argument gets:
> function() { fGbDelete(gbid,link); }
> Shouldn´t it get just: fGbDelete(gbid,link)? Or why is it triggering
> twice?
>
Because you're animating two elements, so they each trigger the callback at
the end of the animation. See
http://jsbin.com/uzite3
source: http://jsbin.com/uzite3/edit
- Richard