<html>
<head>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs
/jquery/1.4.0/jquery.min.js"></script>
</head>

</script>
<script type="text/javascript">
$(document).ready(function(){
$("#hide").click(function(){
$("p").toggle();
});
});
</script>
</head>
<body>
<p id="p1"> if you click on me ,i will disappear.</p>
<button type="button" id="hide">hide</button>
</body>
</html>