<head runat="server">
<title>jQuery教程1</title>
<script src="js/jQuery.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$("p").click(function(){
$(this).hide();
});
});
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<p>
如果您点击我,我会消失。</p>
<p>
点击我,我会消失。</p>
<p>
也要点击我哦。</p>
</div>
</form>
</body>