blob: fadc453f401abbb2ba373174ee0553fdd16e9133 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
function init()
{
var A = document.getElementById("A");
var B = document.getElementById("B");
for (var i = 0; i < 2; ++i)
B.insertBefore(document.createElement("span"), A);
}
</script>
</head>
<body onload="init()">
<em id="B"><td></td><span id="A"><div></div></span></em>
</body>
</html>
|