How to get the children of the $(this) selector?

前端 未结 18 2228
日久生厌
日久生厌 2020-11-22 05:10

I have a layout similar to this:

and would like to use a jQuery selector to selec

18条回答
  •  遥遥无期
    2020-11-22 05:23

    You could also use

    $(this).find('img');
    

    which would return all imgs that are descendants of the div

提交回复
热议问题