Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get id of parent element in jquery

$(this).parent().attr('id');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #id #parent #element #jquery
ADD COMMENT
Topic
Name
7+1 =