如果您想返回所有后续同级元素,则使用 nextAll() 方法。示例您可以尝试运行以下代码,学习如何使用 jQuery.nextAll() 方法:在线演示 .mysiblings * { display: block; border: 1px solid green; padding: 2px; margin: 10px; color: blue; } $(document).ready(function(){ $("li.myclass").nextAll().css({"color": "maroon", "border": "3px solid "}); }); ol li- This is the sibling of parent ol li- This is the sibling of parent ol li- This is the sibling of parent ol with class 'myclass' li- next sibling li- next sibling li- next sibling li- next sibling