Tagged: How to write jQuery Effect fadeOut() Method?

How to write jQuery Effect fadeOut() Method?

<!DOCTYPE html> <html> <head> <script src=”//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js”> </script> <script> $(document).ready(function(){ $(“.btn1”).click(function(){ $(“p”).fadeOut() }); $(“.btn2”).click(function(){ $(“p”).fadeIn(); }); }); </script> </head> <body> <p>This is a paragraph.</p> <button>Fade out</button> <button>Fade in</button> </body> </html> Definition and Usage The fadeOut()...