given two elements, wrap html around heterogeneous elements?
<p>Given two ordered but not necessarily sequential sibling elements, how can I wrap html around them?</p>

<pre><code>$(element_a).before( "&lt;span class='wow'&gt;" );
$(element_b).after( "&lt;/span&gt;" );
</code></pre>

<p>The above not working, as it closes the opening tag for me, and does not insert the latter.</p>

<p>(The siblings are a motley crew of types and classes, so using slice to help with this task is difficult, but maybe I've not thought it through.)</p>
