jquery remove clicked parent div 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);
Example 3: jquery on click remove parent div
$(document).ready(function(){
$('#copy').clone().removeAttr("id").appendTo('#paste');
});