jquery remove click parent code example
Example 1: jquery delete grand parent of clicked element
$(this).closest('.grand-parent-class-name').remove();
Example 2: jquery on click remove parent div
$(this).parent().parent().fadeOut(300);
$(this).closest('.grand-parent-class-name').remove();
$(this).parent().parent().fadeOut(300);