title: Hide/show a block permanently
body: <p>I am using slidetoggle to open and close div, with easing using jquery.</p>
  
  <pre><code>&lt;script&gt;
   function toggleText() {
   $('#divToToggle').slideToggle("slow");
   if ($('#divToToggle').css('display') == 'none') {
        $('#aTag').html('Show');
   }
   else {
        $('#aTag').html('Hide');
   }
   }
  &lt;/script&gt;
  &lt;a id="aTag" href="javascript:toggleText();"&gt;
    Hide
  &lt;/a&gt;
  </code></pre>
  
  <p>The div it controls is <code>&lt;div id="divToToggle"&gt;&lt;/div&gt;</code></p>
  
  <p>Issue I have is onclick the text isnt changing , from Show to Hide and vice versa... I must be missing something very very simple..</p>
  
  <p>Bugger also meant to ask, how do i attah a cookie to the event</p>