I am trying to find the correct jquery way to select only a certain class within the currently active div:
$('.imageScroll').mouseover(function() {
$('.descBox').filter(this).show(500);
});
markup:
<li>
<div class="descBox"></div>
</li>
<li>
<div class="descBox"></div>
</li>
From what I understand, you should try
$('.descBox', this).