2 <SCRIPT src=tableDom.js
>
7 var refCol = document.getElementsByTagName(
"COL")[
1];
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>
25 <table bgcolor=orange border
>
30 <td>100</td><td>200</td><td>300</td>