jQuery .unwrap()
Learn all about the jQuery function .unwrap().
The .unwrap()
method removes the element’s parent. This is effectively the inverse of the .wrap()
method. The matched elements (and their siblings, if any) replace their parents within the DOM structure.