Ciao, perchè stati eseguendo 2 funzionalità allo stesso momento. Dovresti quindi fare tutto in cascata
codice:function showMessageEvent(textToShow, cssClass) { $("#resultMessageEvent").fadeOut("slow", function (this) { $(this).addClass(cssClass).html(textToShow); //aggiungi classe $(this).show("slow").delay(3000).fadeOut("slow", function () { $(this).removeClass(cssClass).html(""); }); }); }

Rispondi quotando