How to get only direct child elements by jQuery function January 2, 2023 by Tarik You can use find(): tbl.find("> tbody > tr")