title: jQuery: How do I use event.preventDefault() with custom events?
body: <p>How can I know in my triggering code that <code>preventDefault</code> has been called?</p>
  
  <pre><code>$(document).trigger('customEvent', params);
  if (/* ??? */)
      doDefaultActions();
  </code></pre>