.unwrap()
Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.
Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.
Wrap an HTML structure around each element in the set of matched elements.
Wrap an HTML structure around all elements in the set of matched elements.
Wrap an HTML structure around the content of each element in the set of matched elements.
© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquery.com/category/manipulation/dom-insertion-around
扫描二维码
下载编程狮App
编程狮公众号