So what I want to do is to coordinate some effects using jQuery for some AJAX calls that I'm working with. My problem is that the fadeIn for the second div fires at the same time with the fadeOut for the first div.
This could apply to other events as well so I'm curious, is there any way to make fadeId launch ONLY after fadeOut is done ?
jQuery("#div1").fadeOut("slow");
jQuery("#div2").fadeIn("slow");
Thanks