2 <SCRIPT src=tableDom.js
>
7 var tbody = document.getElementsByTagName(
"TBODY")[
0];
8 var row = document.createElement(
"TR", null);
10 appendCell(row,
1,
1);
11 var refRow = document.getElementsByTagName(
"TR")[
0];
12 tbody.insertBefore(row, refRow);
16 <BODY onload=
"doIt()">
17 The
2 tables should look the same
18 <table bgcolor=orange border
>
20 <td rowspan=
2>c11
</td><td>c12
</td>
24 <table bgcolor=orange border
>
26 <td rowspan=
2>X1
</td><td>X2
</td>
29 <td rowspan=
2>c11
</td><td>c12
</td>