Skip to content

Instantly share code, notes, and snippets.

@olimortimer
Created April 19, 2012 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olimortimer/2420148 to your computer and use it in GitHub Desktop.
Save olimortimer/2420148 to your computer and use it in GitHub Desktop.
JS: Replace content with show / hide message
$('#filterfeedback form').fadeOut(250, function() {
$('#filterfeedback').append('<div class="successBox alertInner"><p>Filter applied</p></div>').hide().fadeIn(500, function() {
$('#filterfeedback .successBox').delay(1500).fadeOut(250, function() {
$('#filterfeedback form').fadeIn(500);
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment