I need to run a function 'setNotifications()' after a timed delay or at the end of completion of the previous animation('#topannounce' animation).But jQuery is not running the 'setNotifications()'after the animation. What should I do? or is there a better way to run the function?Plz hlp.Thanx.
Here is the jQuery I have.
$('a#resetbtn').bind('click', function(){
//setNotifications();
$.cookie('notificationBar', 'open');
//$('#topannounce').animate({opacity: 1.0}, 3000).fadeIn('slow');
$('#topannounce').fadeIn('slow');
setNotifications();
});
function setNotifications() {
alert("load:setNotifications...");
}