title: How to know the status of the div in jquery?
body: <p>i am developin one application using <code>jquery</code>. i want to know the status of the <code>div</code> wheather the <code>div</code> is show state or hide state 
  something like this:</p>
  
  <pre><code>if($("#test").show()==true) 
  {
  //some operration
  }
  else
  {
  //some operration
  }
  </code></pre>
  
  <p><code>alert($("#test").show()==true);</code> always shows <code>false</code>.</p>
  
  <p>please help me...</p>