How do I a break a sub for loop without breaking the main for loop in javascript?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1564818/how-to-break-2-loops-in-javascript">How to break 2 loops in javascript?</a>  </p>
</blockquote>



<p>I have a for loop and inside that for loop I have another for loop with a condition for break. The problem is that when the sub for loop breaks the top-level loop also does it. So how do I a break a sub for loop without breaking the main for loop in javascript?</p>
