title: jquery checkbox with li
body: <p>I have a series of checkboxes, and everything works except their default behavior has been altered unintentionally so I can no longer check them which is odd since the reason I was using this bit of jquery was to highlight the li around them when they got checked in the first place.</p>
  
  <p>Any ideas?</p>
  
  <pre><code>//Tag cloud
  $(".tag-cloud li").toggle(
    function () {
      //$(this).filter(":checkbox").attr('checked', 'true');
      $(this).addClass("selected");
      return;
      //return $(this).filter(":checkbox").attr("checked", true);
    },
    function () {
      //$(this).filter(":checkbox").attr('checked', 'false');
      $(this).removeClass("selected");
      return;
      //$("#sortable").submit();
    }
  );
  </code></pre>