how to move div in to another div code example
Example: Move a Div from one to another
<script>
document.getElementById('there').appendChild(
document.getElementById('MacGuffin')
);
</script>
<script>
document.getElementById('there').appendChild(
document.getElementById('MacGuffin')
);
</script>