In jQuery we have three methods to give the fade effect to elements: fadeIn, fadeOut and fadeTo
. This methods change the opacity of element with animation.
."speed" can be one of following values : "slow", "fast", "normal" or milliseconds
."opacity" specify the value that allows the fading to given opacity.
."callback" is the function which we want to run once the fading effect is complete.