how to get id of parent element in jquery

58

how to get id of parent element in jquery -

$(this).parent().attr('id');

Comments

Submit
0 Comments