Link to home
Start Free TrialLog in
Avatar of hankknight
hankknightFlag for Canada

asked on

jQuery: do something when fadeOut is complete

My alert occurs when the fadeOut begins.  I want the alert when the fadeOut is complete.
$(".banner").hover(function(){$(".banner span").fadeIn(2000);},function(){$(".banner span").fadeOut(2000, alert('The fade out is complete.') )});

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of kadaba
kadaba
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial