jQuery: How to get to a particular child of a parent?

后端 未结 5 398
迷失自我
迷失自我 2020-12-04 09:23

To give a simplified example, I\'ve got the following block repeated on the page lots of times (it\'s dynamically generated):

&l
5条回答
  •  鱼传尺愫
    2020-12-04 09:55

    If I understood your problem correctly, $(this).parents('.box').children('.something1') Is this what you are looking for?

提交回复
热议问题