JQuery------prevAll(),nextAll(),attr()方法的使用 $(this).nextAll(".Rec").find("input").attr("checked", false); $(this).prevAll(".Rec").find("input").attr("checked", false);