exiting from only inner loop using jquery
<p>i know the question has been asked many times. but im not getting it done. can some one help in to exit from inner loop only. break labelname not working for me.</p>

<pre><code>loop1:
    for (var i = 0; i &lt; timeHolder.length; i++) {
    loop2:
        for (var key2 in self.TimeHolder[0]) {

            if (self.TimeHolder[0].hasOwnProperty(key2)) {
                if (self.TimeHolder[0][key2] == timeHolder[i]) {
                    var pattern = _.pick(row, key2)[key2];
                    var status = pattern.split('-');

                    $('#tblMatrix tr:last').append(self.createCompanyStatusRowsByRow(status));
                  break loop2;
                }
            }
        }
    }
</code></pre>

<p>however break loop2 exits from outer loop also.</p>
