title: Click Toggle (jQuery)
body: <pre><code>$("li").hover(
  function () {
      // do x
  },
  function () {
      // do y
  });
  </code></pre>
  
  <p>.. thats for hover, how would I do the same for click toggle, i.e do x on click and y on second click?</p>
  
  <p>Manythanks</p>