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

前端 未结 18 2219
日久生厌
日久生厌 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:34

    You can use either of the following methods:

    1 find():

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

    2 children():

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

提交回复
热议问题