Wrapping Multiple Elements (jQuery)
- by Nimbuz
I've this piece of HTML:
div.content
div.one
content
div.two
content
div.three
content
I want to add two divs on top and bottom and wrap one div around it so it becomes:
div.top
div.wrapper
div.content
div.one
content
div.two
content
div.three
content
div.bottom
I'm aware of the several wrap…