blob: 0bca392c9ce9a4a2fa57cbb203fbbffa478067a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<HEAD>
<SCRIPT src=tableDom.js>
</SCRIPT>
<SCRIPT>
function doIt() {
appendCellAt(1, 1, 0);
appendCellAt(2, 0, 1);
}
</SCRIPT>
</HEAD>
<BODY onload="doIt()">
<table bgcolor=orange border>
<tr>
<td>c11</td><td>c12</td><td>c13</td><td>c14</td>
</tr>
<tr><td>c21</td></tr>
</table>
<table bgcolor=orange border>
<tr><td>c11</td> </tr>
<tr><td>c21</td> </tr>
<tr><td>c22</td> </tr>
<tr><td>c23</td> </tr>
<tr><td>c24</td> </tr>
</table>
</BODY></HTML>
|