wrapAll
wrapAll(structure) ⇒ self
Wrap all elements in a single structure. Structure can be a single element or several nested elements, and can be passed in as a HTML string or DOM node.
// wrap all buttons in a single div:
$('a.button').wrapAll('<div id=buttons />')