Description:
The fadeOut( ) method fades out all selected/matched elements by applying the opacity to 0, then setting display to “none” . Finally the optional callback will be triggered after completion of animation.
Syntax
.fadeOut( Ex : $(“#div”).fadeOut(“slow”); From the below code, the “divFadeBox” been visible on the initialย load. After clicking “divButton” ย the click event been triggered and the fadeOut() will be executed onย the “divFadeBox”. Finally “display:none” will be set to the matched element. After clicking the “Click to fade Out boxes” button, then the blue box will be disappear as shown below.Duration/speed ย It specifies the speed of the fadein. The valuse may be slow, fast and milliseconds. (default value: 400) Easing ย It specifies the easing function to be used for transition (default value: swing). Callback A function to call once the animation is complete. Example: Without Option(parameter)
Output:


The Js Helper supports the JavaScript libraries Prototype, jQuery and Mootools and provides methods for manipulating javascript.