JQuery end $.each() loop inside of $.click
<pre><code>$('#button').click(function() {
   $('.field').each(function() {
      if (condition) {
         return false;
      }
   });
   alert("This alerts even when loop returns false");
});
</code></pre>

<p>If my <code>if</code> condition reaches <code>return false;</code> the script will continue to move through the $.click event. Is it possible to completely stop all javascript functions/events?</p>
