Hide div using jquery
<p>I want to hide some div. Just look at this <a href="http://jsfiddle.net/sureshmonster/eBcRP/" rel="nofollow">JSFiddle</a>. Here i want to hide after the count is "1". </p>

<pre><code>$(".prev").click(function(){
   var current = $('ul li.selected').index(),
    maxIndex = $('ul li').length - 1,
    prev = (current - 1) &gt;  maxIndex ? 0 : (current - 1);

   manageControls(prev);
   setActive(prev);

  });
</code></pre>

<p>Can any one help ?</p>
