如何在父母的内部div上使用"this"

Bra*_*ell 1 javascript jquery function this hover

我有一个快速的网络程序,当你将鼠标悬停在另一个图像上时,下面会弹出一个小框.

我设置了一个像这样的快速函数:

$('.indArtistBox').hover(function(){
    $('.description').show();
});
Run Code Online (Sandbox Code Playgroud)

这个问题是我想要一些如何合并this,因为我只希望描述显示在.indArtistBox正在徘徊.

我试过$(this).('.description'),但这显然不起作用.我怎么做到这一点?

Chr*_* S. 8

使用find.

$(this).find(".classOfYourSubObject")./* ... */
Run Code Online (Sandbox Code Playgroud)