jQuery parent of a parent

前端 未结 9 1561
执笔经年
执笔经年 2020-12-02 05:40

I am currently trying to find the parent of a parent of an element. I have a link being clicked that is in a , and I\'d like to get the

9条回答
  •  不知归路
    2020-12-02 06:29

    This snippet has performed for me in the past:

    $(this).parent().parent(); 
    

    Post some code for us to see if there might be another problem somewhere...

提交回复
热议问题