$(function(){ $("#s1Div span").wrapAll("p>/p>"); });
function s2Func(){ $("#s2Div").wrapAll("div id='s2Wrap'>/div>"); }