I have a jQuery animate function. A need to execute a function as soon as animation ends. So gotta use callback function. 
So I tried it. Didn't work, I thought there must be problem in that particular function so I reduced it to simply this...

```
phGrp.animate({bottom:0},
              {duration: 1500, easing: 'swing'}, 
              function(){alert('hello')}
);

```

Animation works correctly, no error, but callback won't execute. What can be the problem? I saw a solution of using anonymous function. So I have used it, but still problem persists.

Please help