Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery delete grand parent of clicked element

$(this).closest('.grand-parent-class-name').remove();
 
PREVIOUS NEXT
Tagged: #jquery #delete #grand #parent #clicked #element
ADD COMMENT
Topic
Name
1+7 =