How to escape double $.each loop? 2.Loop escapes, but 1.Loop cannot escape.
Code:
$.each( ArrayList, function( idx, item ) <==== 1.Loop
{
$.each( item, function( idx2, item2 ) <==== 2.Loop
{
if ( stage == item2.toString() )
{
return false; //<==== 2.Loop escapes, but 1.Loop cannot escape.
}
});
});