fadeOut(speed, callback): Only the opacity is adjusted for this animation : fadeOut « jQuery « JavaScript Tutorial






<html>
  <head>
    <script type="text/javascript" src="js/jquery-1.3.2.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){

        
            $("p").click(function () {
              $("p").fadeOut("slow");
            });


        });
    </script>

  </head>
  <body>
    <body>
<p>
    fade away.
  </p>
    </body>
</html>








30.39.fadeOut
30.39.1.Fade out this
30.39.2.Fast fade out
30.39.3.Fade out in milliseconds
30.39.4.Fade out show
30.39.5.Slow fade out
30.39.6.fadeOut(speed, callback): Only the opacity is adjusted for this animation