Use the closest() method to get the closest parent element by class, e.g. child.closest('.parent') . The closest() method traverses the ...
確定! 回上一頁