title: jQuery Multiple Event Handlers - How to Cancel?
body: <p>I have two functions bound to a click event at two different times (using jQuery).  The order in which they are fired is significant.  They are firing in the correct order.  The problem is, when the first function returns false, the second function is still firing!</p>
  
  <p><strong>How can I properly cancel the event?</strong></p>
  
  <p>Example code:</p>
  
  <pre><code>$(document).click(function() { 
    alert('a');
    return false;
  });
  
  $(document).click(function() {
    alert('b');
  });
  </code></pre>
  
  <p>You will still see the "b" alert message when clicking the page.  This is unacceptable!</p>