單項選擇題

通過()方法獲得集合中每個匹配元素的祖先元素。

A.closest()
B.parent()
C.parentAll()
D.parents()

微信掃碼免費搜題