xxxxxxxxxx
$.each(array, function(index, value) {
if (condition) {
// Skip to the next iteration
return true;
}
// code to be executed for each iteration
});
xxxxxxxxxx
return false; // this is equivalent of 'break' for jQuery loop
return; // this is equivalent of 'continue' for jQuery loop