想延对象是$obj,如何选择所需的祖先?

有帮助吗?

解决方案

使用 parents():first 选择:

obj.parents("tbody:first");
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top