wrap inside

wrap inside


It's come up a couple times where I want to wrap some markup around
the contents of an element. There doesn't seem to be an easy way to do
this.
Example:
clicking dt makes dd toggle
$(".dropdown dd").hide();
$(".dropdown dt").wrapInside("<a href='#'></a>").toggle(...)
<dl class="dropdown">
<dt>question</dt>
<dd>answer</dd>
</dl>
The other case that makes this hard is when there are multiple child
objects. In that case doing .children.wrap() would wrap each child,
when I want to wrap all children.
If there's an easy way to do this that I didn't see, let me know. But
I think it would be a relatively easy addition if it were added.
Thanks,
Jethro