jQuery not filtering divs as nth-childs?
<pre><code>&lt;head&gt;
&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"&gt;&lt;script&gt;

&lt;script&gt;
$(document).ready(function() 
{
    $('.sss').filter(':nth-child(n+2)').hide();
    $('.sss').on('mouseenter', '.question', function() 
    {   
        $(this).next().slideDown(200).siblings('.answer').slideUp(200);
    });
});
&lt;/script&gt;
&lt;/head&gt;
&lt;div class="sss"&gt;
    &lt;div class="question"&gt;Question&lt;/div&gt;
    &lt;div class="answer"&gt;Answer&lt;/div&gt;

    &lt;div class="question"&gt;Question&lt;/div&gt;
    &lt;div class="answer"&gt;Answer&lt;/div&gt;

    &lt;div class="question"&gt;Question&lt;/div&gt;
    &lt;div class="answer"&gt;Answer&lt;/div&gt;

    &lt;div class="question"&gt;Question&lt;/div&gt;
    &lt;div class="answer"&gt;Answer&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>Divs doesn't have parent-child relation or am I doing a mistake here?</p>
