时间:2021-07-01 10:21:17 帮助过:2人阅读
<html>
<head>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("p").click(function(){
$(this).hide();
});
});
</script>
</head>
<body>
<p>If you click on me, I will disappear.</p>
</body>
</html>以上就是JavaScript强化教程――编写第一个jQuery程序的内容,更多相关内容请关注PHP中文网(www.gxlcms.com)!