I have a 3rd party script in which i have no control over the html and can only modify basic css . I just wanted to know if its possible to cut a div and all the html inside it and paste it in a different div as soon as the page loads?
suppose we have
<div id="example-one">
<ul class="nav">
<li class="nav-one"><a href="#featured" class="current">Billing Address</a></li>
</ul>
<div class="list-wrap">
hello
</div>
</div>
and when the page loads jquery cuts the whole html specifying the div id "example-one"
and paste it into a new div name it be "new-div"
. Is this possible ?