var rainbow = {'first' : 'red','second' : 'orange','third' : 'yellow'}; $.each(rainbow,function (key,color) { if (color == 'red') { //do something and then break out of the each method alert("i'm read,now break."); } });