Agrawal, Ritesh schreef: > Original > <div class="box"> > <span class="heading">Heading</span> > </div> > > Modified (desired result) > <div class="box"> > <table> > <tr> > <td><span>heading</span></td> > </tr> > </table> > </div> > > you have to use the wrap function
$('span.heading').wrap('<table><tr><td></td></tr></table>');
--
David Duymelinck
________________
[EMAIL PROTECTED]
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
