.parents()

.parents()

.parents( [selector ] )Returns: jQuery

Description: Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector.

登录查看完整内容