title: jQuery toggle and IF visible
body: <p>I have a div which contains settings and options on an account management page.</p>
  
  <pre><code>$("#moreOptions").slideToggle('slow');
  if ($("#moreOptions").is(":visible") == true) {
      $("#lnkMoreOpt").text("Less Options «")
  }
  else {
      $("#lnkMoreOpt").text("More Options »")
  }
  </code></pre>
  
  <p>The code above should change the text of the more/less options link depending on whether it is visible or not, however it appears jQuery does not treat toggling as making it invisible/visible.</p>
  
  <p>How can I implement this while still using the toggle function?</p>