codeGK
Code it ALL
jQuery fadeTo() - CodeGK

♦ jQuery fadeTo()

♣ Example4: jQuery fadeTo()

fadeTo() method changes the opacity of the HTML element.
Allowed range is 0 to 1.
Below is the representation of jQuery fadeTo() Syntax.
Basic Syntax
$(selector).fadeTo(speed, opacity);
speed: time for fadingTo action, can be slow,speed or millisecond(s).
opacity: 1 for full display, 0 for hide
In this example, fadeTo() method is illustrated.
Example
Input:
Output: