I need to change a div parent programmatically. For example
<body>
<div id="div_a">
<div id="child"></div>
</div>
<div id="div_b">
</div>
</body>
I wonder if it is possible to change the div with id="child" parent to a div with id="div_b" ?
I have search, but nowhere close. But in case there is a similar question, please let me know.
Thank you
Aucun commentaire:
Enregistrer un commentaire