[jQuery] animate problem

[jQuery] animate problem


Hi,
I'm currently using:
$("#msg").empty().prepend('<div class="success">It works!</
div>').show("slow").animate({opacity: 1.0}, 5000).fadeOut("slow");
But the problem is, that it's still showing (for the specified 5000ms)
after i invoke new action which should display something different
than "It works!" instead waiting for 5000ms and then showing new msg.
How can i stop the previous animate to make place for the new msg?
Thanks,
BR