jQuery .unwrap() removes elements from their parents

Syntax and Description for .unwrap()

.unwrap()

Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place. Its return value is the jQuery object, for chaining purposes.





















Home »
  jQuery »
    jQuery Tutorial »




Basics
Selector
DOM
Event
Effect
Utilities