<html>
<head>
<script type="text/javascript">
function aaa(){
var prices = $(".p");
alert($(prices[0]).html());
}
<script>
</head>
<body>
<p class="p">价格</p>
<p class="p">价格</p>
<p class="p">价格</p>
<p id="p">价格</p>
</body>
</html>
要在 prices[0] 外面加一个$()转移符,得到的数组是一个jquery对象,但是每一个元素不是jquery对象。