HTML:
<div class="post">
<h2><a href="#" title="">Pellentesque</a></h2>
<p><a href="#" title="" class="more">More</a></p>
</div>
jQuery的
$('.more').bind("hover", function(){
$(this).parent('.post').hide() ;
});
懸停(更多)我想隱藏的職位,但它什麼都不做,如果我用父母( )而不是將其刪除所有
任何幫助讚賞
最接近的是同樣的事情,刪除所有.posts – mononym