jquery slideup/slidedown toggle
<p>I have 2 classes: the helperopen and the helper. I'm writing a toggle that slides the helper div open or closed depending on its visibility. For the moment, it does the slideDown but it's not sliding up because the visibility condition test isn't working.</p>

<p>This is what I have so far:</p>

<pre><code>$('.helperopen').click(function () {

   if( $('.helper').is('visible') == true )

   { $('.helper').slideUp(); }

   else {
       $('.helper').slideDown();
       }

   });
</code></pre>

<p>Any suggestions are welcome.</p>

<p>Thanks.</p>
