HTML:
<div class="view">
<span class="number">40000</span>
<br/>
<span class="number">50000</span>
<br/>
<span class="number">240000</span>
<br/>
</div>
<div class="view">
<span class="number">60000</span>
<br/>
<span class="number">70000</span>
<br/>
<span class="number">350000</span>
<br/>
</div>
JavaScript:
$(".view").each(function(i,foo){
$($(foo).html()).filter('.number').each(function(index,Element){
}
如何优雅地仅选择foo 变量.number
中的选定元素的子元素?.view