jquery查找上面同级标签

$('margin').prev();他的上一个节点this

$('margin').next();他的下一个节点next

$(this).prevAll(); 当前元素上面全部的节点margin

相关文章
相关标签/搜索