How to break/exit from a each() function in JQuery?
<p>I have a code:</p>

<pre><code>$(xml).find("strengths").each(function() {
   //Code
   //How can i escape from this block based on a condition.
});
</code></pre>

<p>How can i escape from the "each" code block based on a condition?</p>

<h3>Update:</h3>

<p>What if we have something like this:</p>

<pre><code>$(xml).find("strengths").each(function() {
   $(this).each(function() {
       //I want to break out from both each loops at the same time.
   });
});
</code></pre>

<p>Is it possible to break out from both "each" functions from the inner "each" function?</p>
