js faceOut code example Example: jquery fade out $(selector).fadeOut(duration) $(selector).fadeIn(duration)