title: jQuery return false; Breaks Checkbox
body: <p>Ok, so I have a dropdown login box, which uses this code for dropdown:</p>
  
  <pre><code>$('#header #login &gt; a').click(function(){
      if($('#header #login').hasClass('open')){
          $('#header #login').removeClass('open');
      }
      else{
          $('#header #login').addClass('open');
      }
      return false;
  });
  $('#header #login').click(function(){
      return false;
  });
  $(document).click(function(){
      $('#header #login').removeClass('open');
  });
  </code></pre>
  
  <p>The only problem is that the return false is breaking the checkbox that I've added to the login box...
  Anybody know how to fix this?</p>
  
  <p>EDIT: Ok, so the correct way to do this is:</p>
  
  <pre><code>$('#header #login &gt; a').click(function(e){
      if($('#header #login').hasClass('open')){
          $('#header #login').removeClass('open');
      }
      else{
          $('#header #login').addClass('open');
      }
      e.preventDefault();
  });
  $('#header #login').click(function(e){
      e.stopPropagation();
  });
  $(document).click(function(){
      $('#header #login').removeClass('open');
  });
  </code></pre>