html - Move div inside new child in Jquery -
how move div (keeping instantiated js) new child div same div?
lets have this:
<div id="container"> /*lots of content draggables, scrolls, ..*/ </div>
i want this:
<div id="container"> <div class="innerzone"> /*lots of content draggables, scrolls, ..*/ </div> </div>
use: .wrapinner()
$('#container').wrapinner('<div class="innerzone" />');
Comments
Post a Comment