how to remove parent element in jquery code example
Example 1: how to remove the parent div from the child in jquery
$(this).closest('.parentClassname').remove();
Example 2: jquery on click remove parent div
$(this).parent().parent().fadeOut(300);