2 <SCRIPT src=tableDom.js
>
7 var refCol = document.getElementsByTagName(
"COL")[
0];
8 var col = document.createElement(
"COL", null);
10 refCol.parentNode.insertBefore(col, refCol);
14 <BODY onload=
"doIt()">
15 The
2 tables should look the same
16 <table bgcolor=orange border
>
20 <td>100</td><td>200</td><td>300</td>
24 <table bgcolor=orange border
>
29 <td>100</td><td>200</td><td>300</td>