title: Use jQuery .trigger to call a custom function that returns a value
body: <p>Is there any way using jQuery's .bind() and .trigger() calls to execute a user defined function (ex: save ()) and act upon the return from the method?  For example:</p>
  
  <pre><code>$("#aForm").bind ('save', function () {
    return true;
  });
  </code></pre>
  
  <p>and then:</p>
  
  <pre><code>if ($("#aForm").trigger ('save') == true) {
    doSomething ();
  }
  </code></pre>