Click to hide : hide « 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 () {
                  $(this).hide();
                  return true;
                });





        });
    </script>
  </head>
  <body>
    <body>
        <p>Hello</p>
    </body>
</html>








30.49.hide
30.49.1.Click to hide
30.49.2.Hide a tag
30.49.3.Hide and remove
30.49.4.Hide fast
30.49.5.Hide in millisecond
30.49.6.Animates all shown paragraphs to hide slowly, completing the animation within 600 milliseconds.
30.49.7.Puff an image