how to do only this div
<pre><code>&lt;div id="container"&gt; 
  &lt;div class="slides"&gt; 
    &lt;div class="slides_container"&gt; 
      &lt;p&gt;1&lt;/p&gt;
      &lt;p&gt;2&lt;/p&gt;
      &lt;p&gt;3&lt;/p&gt;
    &lt;/div&gt; 
    &lt;a href="#" class="prev"&gt;Prev&lt;/a&gt; 
    &lt;a href="#" class="next"&gt;Next&lt;/a&gt; 
  &lt;/div&gt; 
&lt;/div&gt; 

&lt;div id="container"&gt; 
  &lt;div class="slides"&gt; 
    &lt;div class="slides_container"&gt; 
      &lt;p&gt;1&lt;/p&gt;
    &lt;/div&gt; 
    &lt;a href="#" class="prev"&gt;Prev&lt;/a&gt; 
    &lt;a href="#" class="next"&gt;Next&lt;/a&gt; 
  &lt;/div&gt; 
&lt;/div&gt; 
</code></pre>

<hr>

<pre><code>var n = $(".slides_container &gt; p").length;

if (n == 1) {
    $(".prev", ".next").hide();
} else {
    $(".prev", ".next").show();
}
</code></pre>

<hr>

<p>If "P" = 1 , i will hide .prev &amp; .next (ONLY THIS DIV)</p>

<p>HOW TO ? THANKS :D</p>
