根據css 選擇器,返回第一個祖先節點,參數可指定第一個祖先節點是誰。closest () 往上查找,只要找到符合條件的就停止。 $(selector).closest(selector) ...
確定! 回上一頁