jQuery Intro

jQuery Intro Quiz

jQuery Intro Exercise

jQuery Basic

jQuery Basic Quiz

jQuery Basic Exercise

jQuery Advance

jQuery Advance Quiz

jQuery Advance Exercise

jQuery Selectors

jQuery Effects

jQuery Events

jQuery Methods and Properties

jQuery Traversing

jQuery CSS and HTML Methods

jQuery Effect fadeTo() Method

jQuery Effect fadeTo() Method



The fadeTo() method is used to gradually change the opacity, for selected elements, to a specified opacity.




Its syntax is:- $(selector).fadeTo(speed, opacity, easing, callback)


Further Explanation:-


Parameter Description
speed Required. Specifies the speed of the fading effect.
opacity Required. Specifies the opacity to fade to. It ranges from 0.0 to 1.0
easing Optional. Specifies the speed of the element in different points of the animation. Default value is swing
callback Optional. A function to be executed after the fadeTo() method is completed.

Code Explanation

All Tutorials related to jQuery Effects

All Sections related to Jquery