Is there a function similar to jQuery .closest() but for traversing descendants and returning only closest ones?
jQuery
.closest()
I know that there is
you have a lot of options, however $("#parent").children(".child"); is the fastet. check this article for details and benchmark
$("#parent").children(".child");