问题:
I would like to move one DIV element inside another. 我想将一个DIV元素移到另一个元素中。 For example, I want to move this (including all children): 例如,我想移动它(包括所有孩子):
<div id="source">
...
</div>
into this: 进入这个:
<div id="destination">
...
</div>
so that I have this: 所以我有这个:
<div id="destination">
<div id="source">
...
</div>
</div>
解决方案:
参考一: https://stackoom.com/question/5MyT/如何将元素移动到另一个元素参考二: https://oldbug.net/q/5MyT/How-to-move-an-element-into-another-element
来源:oschina
链接:https://my.oschina.net/u/4432649/blog/4476664