Effects with 2 divs and after one only function
My problem is simply.
I have 2 divs with class="a" and take them: var div_elements = $("div.a");
Then I start an effect: div_elements.fadeOut(300, function() { alert(1); });
OK.
But I only want to make 1 alert, not 2.
How can I make only a one function after than execute a 2 divs with a 2 effects???
Thank's a lot!