$(function () { var $p1 = $("p").next(); alert($p1.html()); // 紧邻

元素后的同辈元素 var $ul = $("ul").prev(); alert($ul.html()); // 紧邻