fadeout and fadein in jquery code example
Example 1: jquery fadein
$(".example").fadeIn(500);
Example 2: jquery fade out
$(selector).fadeOut(duration)
$(selector).fadeIn(duration)
$(".example").fadeIn(500);
$(selector).fadeOut(duration)
$(selector).fadeIn(duration)