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