$('.checkLogin').click(function() {
alert($(this).find('img').attr('src'));
});
<li> <div class="inner-box"> <h3><a class="checkLogin" title="【周五聚家装】现价799元包邮 原价1799元岚珊现代时尚吸顶灯(每个ID" href="detail.php?jid=3" target="_blank" layer="goods">【周五聚家装】现价799元包邮 原价1799元岚珊现代时尚吸顶灯(每个ID...</a></h3> <div class="pic"> <a class="checkLogin" href="detail.php?jid=3" target="_blank" layer="goods"> <img src="http://localhost/fanli.nzw.cn/upload/pic_132134760337488.jpg" alt="" width="285" /> </a> <div style="POSITION: absolute; PADDING-BOTTOM: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 5px; FLOAT: right; COLOR: #ffffff; TOP: 2px; RIGHT: 2px; PADDING-TOP: 0px; -moz-border-radius: 3px 3px 3px 3px" class="pprice1"> <strong style="COLOR: #ffffff">女装网返利 </strong> <br /> <strong style="COLOR: #ffffff"> <H2 style="COLOR: #ffffff">¥55.07</h2> </strong> </div> </div> <div class="buy-mask"></div> <div class="buy-state clearfix"> <span class="orig-price">原价<del>1799.00元</del></span> <span class="orig-price">折扣 <strong>4.44</strong>折</span> <span class="buy-ed">再返利<strong>55.07</strong>元</span> </div> <a class="buy-action clearfix checkLogin" href="detail.php?jid=3" target="_blank" layer="goods"> <span class="price J_MorePrice"><em>¥</em>799.00</span> <b class="btn"></b> </a> </div> </li>
html代码如上,我怎样在有class="checkLogin"的连接中,点击连接,得到img的src属性值。通过jquery? 说明一下,上面的li是循环中的一个。