jquery跳出each循环
$("#chkbox").parent().parent().parent().find("input").each( function() { if ($(this).attr("checked")) { flag=true; return false; } });