<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>无标题页</title>
<script type="text/javascript" src="/jquery/jquery.js"></script>
<script src="js/jquery-1.4.4.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function()
{
$("p").click(function()
{
$(this).hide();
});
});
</script>
</head>
<body>
<p>If you click on this, it will 消失。压力大啊,年龄大了就是麻烦,我真的是孤注一掷.</p>
</body>
</html>
第一个jquery例子
最新推荐文章于 2022-06-28 21:06:33 发布