我有以下HTML結構:瞭解最後孩子
<div class="decorator">
<div class="EC_MyICHP_Item">
<div class="text">
<h3><a target="_blank" title="" href="#"></a></h3>
text here text here text here text here text here text here
</div>
</div>
<div class="EC_MyICHP_Item">
<div class="text">
<h3><a target="_blank" title="" href="#"></a></h3>
text here text here text here text here text here text here
</div>
</div>
<div class="EC_MyICHP_Item">
<div class="text">
<h3><a target="_blank" title="" href="#"></a></h3>
text here text here text here text here text here text here
</div>
</div>
<div class="readmore"><a></a></div>
</div>
我想選擇上次EC_MyICHP_Item,利用最後的孩子,卻徒勞無功。 (CSS和jQuery)你能幫助我嗎?
謝謝。
我在我的代碼中犯了一個錯誤:我剛剛添加了最後一個div。我相信這是干擾的,雖然它沒有相同的類名。 –