Fast fade out : 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(){

               $("button").click(function () {
                  $(this).fadeOut("fast");

               });


        });
    </script>

  </head>
  <body>
    <body>
          <div>Click me<button>button</button></div>


    </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