title: jquery: returning true or false
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1635401/how-do-you-know-when-to-return-false-from-a-jquery-function">How do you know when to return false from a jQuery function?</a>  </p>
  </blockquote>
  
  
  
  <p>We all have some jquery code that looks like this:</p>
  
  <pre><code>$('#MySelector').somefunction(function () {
  
     // do something
  
  });
  </code></pre>
  
  <p>Is there a benefit/penalty for including a return statement and should we return true or false? For now, I'd say my code works fine without the return statements but I was wondering what would a return statement do in the context I described.</p>
  
  <p>Thanks for your clarifications.</p>