日期:2014-05-16 浏览次数:20400 次
<html>
<head>
<script type="text/javascript" src="jquery-1.5.2.min.js"></script>
<script>
$(function() {
alert($(".test").find("p").size());
})
</script>
</head>
<body>
<p class="test"><p>123</p></p>
</body>
</html>