This can be a little tricky, because some browsers will wrap your
elements in a by default if you don't include one yourself. Firefox 19 and Chrome 26 do this. IE 10 does not. Only doing a wrapAll will result in the following invalid HTML:
BU
Function
You can see this behavior for yourself using this jsFiddle if you compare the original markup, the markup after clicking Wrap, and the markup after clicking Prepend.
To overcome this, as the jsfiddle shows, you need to also remove the newly added and prepend it back to the