2 <SCRIPT src=tableDom.js
>
7 var cg = document.getElementsByTagName(
"COLGROUP")[
0];
8 var refCol = document.getElementsByTagName(
"COL")[
1];
9 var col = document.createElement(
"COL", null);
11 cg.insertBefore(col, refCol);
15 <BODY onload=
"doIt()">
16 The
2 tables should look the same
17 <table bgcolor=orange border
>
23 <td>100</td><td>200</td><td>300</td>
27 <table bgcolor=orange border
>
34 <td>100</td><td>200</td><td>300</td>