move div on top of another 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>