Studyon Minte9.com
jQuery




Each break



jQuery.each(flashcards, function(k,v){
	if (v['answered'] == '0') {
	    currentIndex = k; // set current to first unanswered from set
	    return (false);
	}
});


http://www.bennadel.com/blog/2036-Breaking-Out-Of-jQuery-s-Each-Iteration-Method.htm