资 源 简 介
This jQuery plugin removes the immediate parent wrapping element from each element of the matched set. For elements in the matched set that share a common parent, the common parent element is removed.
It is the opposite of the wrap() function, but unlike other similar plugins available, it guards against unwrapping the body element. (Which can happen if the element being unwrapped is a direct descendant of the body tag.)
This plugin is simple and extremely light weight (315 bytes minified), yet it provides a vital function that feels "missing" from the jQuery library.
download packaged includes full documented source, minified version, demo page, changelog, readme file, and license (GNU GPL version 3).