mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
11 lines
432 B
HTML
11 lines
432 B
HTML
<script>
|
|
|
|
function init() {
|
|
document.getElementById("three").appendChild(document.getElementById("two"))
|
|
|
|
setTimeout(function(){
|
|
document.getElementById("two").appendChild(document.getElementById("one"))
|
|
}, 200);
|
|
}
|
|
|
|
window.addEventListener("load", init, 0);
|
|
|
|
</script>
|
|
|
|
<table style="border-collapse: collapse;" border="1"><tr><td id="one">1</td><td id="two">2</td></tr><tr><td id="three">3</td><td>4</td></tr></table>
|
|
|