title: jQuery focusout()
body: <p>I have a login box that slides/toggles up and down when an <code>&lt;a&gt;</code> link is clicked.</p>
  
  <p>This is a DIV that is around 150px by 100px is size.</p>
  
  <p>When someone clicks outside this DIV I want the DIV to slide backup.
  I've been playing with focusout() but I must have the wrong function.</p>
  
  <p>Any advice? code below.</p>
  
  <pre><code>$('a#member_login').click(function(event) {
      event.preventDefault();
      $('div#member_login_container').slideToggle();
  });
  
  // Hide Login Box if Click outside the Login Box
  $('div#member_login_container').focusout(function(event) {
      alert('here');
      //$('div#member_login_container').slideUp();
  });
  </code></pre>