var nodePrev = p.children[j].cloneNode(true); var nodeNext = p.children[j + 1].cloneNode(true); 转载于:https://www.cnblogs.com/hello321/p/7819281.html