jQuery fadeOut()
The jQuery fadeOut() method is one of the fading effects facilitated by jQuery which is used to fade the selected elements out of visibility. Example: <!DOCTYPE html> <html> <head> <script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js”></script> <script> $(document).ready(function(){ $(“button”).click(function(){ $(“#div1″).fadeOut(); }); }); </script> </head> <body> <p>Knock Knock. Click to let me go Out.</p> <button>FadeOut</button><br><br> <div id=”div1″ style=”width:80px;height:80px;background-color:red;”></div><br> </body> </html> Parameters … Read more