希望这是你需要的
$("button").click(function(){ $(".parent-row>.row:not(:first)").remove(); });
或
$("button").click(function(){ $(".parent-row>.row").each(function(index, element){ if(index>0) element.remove(); }) });