node2:/var/www/html/js#cat h32.html
<html>
<body>
<img src="009.jpg" alt="纽约" height="400" width="400" />
<img src="003.jpg" alt="上海" height="400" width="400" />
<img src="002.jpg" height="400" width="400" />
<img src="002.jpg" alt="北京" height="400" width="400" />
<p>稠州</p>
<p>泰隆</p>
<p>台州</p>
</body>
</html>
<script type="text/javascript" src="jquery-2.2.2.min.js"></script>
<script type="text/javascript" src="h32.js"></script>
node2:/var/www/html/js#cat h32.js
var img=$($('p').get(2)).context.innerHTML;
console.log(img);