拿一个普通类div的src

时间:2015-09-09 05:33:37

标签: javascript

<div class="e1">
<p><img alt="" src="/images/site/pr1.png" /></p>
</div>
<div class="e1">
<p><img alt="" src="/images/site/pr2.png" /></p>

</div>
<div class="e1">
<h1> My new h1 </h1>
</div>

如何获取前两个div标签的img src元素的内容e1?

0 个答案:

没有答案