fadeOut() callback problem/issue in Safari and Chrome (unexpected behavior)
I am running into an issue where the behavior of the following code works as expected only in Firefox and not in Safari or Chrome. It should fadeout #statusblock, and then via callback change the HTML and fadein #statusblock. In firefox this works fine, but in Safari and Chrome, the HTML is changed
BEFORE fading out. It makes no sense to me as the HTML change is in the callback.
-
$('#statusblock').fadeOut(1000, function() {
$('#statusblock').fadeIn(1000).html(changingstring);
- });
Any ideas???