jQuery unwrap () method
Examples
Remove all of the parent element <p> element:
$("button").click(function(){
$("p").unwrap();
});
$("p").unwrap();
});
try it"
Definition and Usage
unwrap () method to remove the selected elements of the parent element.
grammar
$(selector).unwrap()
More examples
Parcels and unlock elements
How to unlock the elements between packages and task switching.