Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设jQuery对象是$obj,如何选择想要的祖先?
parents()与选择器一起使用:first:
parents()
:first
obj.parents("tbody:first");